From d0469fd04bdf2f575b9ebd8f2c388ea820e37b64 Mon Sep 17 00:00:00 2001 From: hellerve Date: Wed, 19 Dec 2018 18:21:39 +0100 Subject: [PATCH] main: turns out the struct is already packed --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index e3dcada..13e9f03 100644 --- a/main.c +++ b/main.c @@ -40,7 +40,7 @@ typedef struct { uint32_t rctmf; uint32_t ttms; uint32_t ttmf; -} __attribute__((packed, aligned(1))) ntp; +} ntp; typedef struct { const char* host;