From 6c9ff3f2612cbfe5892eed0028f0bf16a843a732 Mon Sep 17 00:00:00 2001 From: ads103 Date: Sun, 26 Dec 2021 12:51:09 -0600 Subject: [PATCH] forgot the dang braces --- MegaCAN.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MegaCAN.h b/MegaCAN.h index c805f79..ad70dc6 100644 --- a/MegaCAN.h +++ b/MegaCAN.h @@ -21,7 +21,7 @@ typedef struct MegaCAN_message_t { } request; //unpacked uint8_t response[8] = { 0 }; // response data bytes back to requester, up to 8 bytes } data; //packed - uint8_t rawData[8] = 0; + uint8_t rawData[8] = { 0}; } MegaCAN_message_t; typedef struct MegaCAN_broadcast_message_t {