Merge pull request #194 from marckleinebudde/canfdtest-initialize-tx_frames

canfdtest: can_echo_gen(): initialize tx_frames with zero
This commit is contained in:
Marc Kleine-Budde
2020-06-17 12:53:32 +02:00
committed by GitHub
+1 -1
View File
@@ -240,7 +240,7 @@ static int can_echo_dut(void)
static int can_echo_gen(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]; int recv_tx[CAN_MSG_COUNT];
struct can_frame rx_frame; struct can_frame rx_frame;
unsigned char counter = 0; unsigned char counter = 0;