diff --git a/canfdtest.c b/canfdtest.c index cf59a3a..b06193b 100644 --- a/canfdtest.c +++ b/canfdtest.c @@ -236,7 +236,7 @@ static int can_echo_dut(void) static int can_echo_gen(void) { - struct can_frame tx_frames[CAN_MSG_COUNT]; + struct can_frame tx_frames[CAN_MSG_COUNT] = { }; int recv_tx[CAN_MSG_COUNT]; struct can_frame rx_frame; unsigned char counter = 0;