From 3191c81d3e94ac1fd1987318806a7a7b1308fad6 Mon Sep 17 00:00:00 2001 From: PB2 Date: Sat, 14 May 2022 00:35:39 -0400 Subject: [PATCH] Add packed attribute --- examples/data/Arduino/rx_data/rx_data.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/data/Arduino/rx_data/rx_data.ino b/examples/data/Arduino/rx_data/rx_data.ino index 1cf257c..c6a0840 100644 --- a/examples/data/Arduino/rx_data/rx_data.ino +++ b/examples/data/Arduino/rx_data/rx_data.ino @@ -3,7 +3,7 @@ SerialTransfer myTransfer; -struct STRUCT { +struct __attribute__((packed)) STRUCT { char z; double y; } testStruct;