From d4ad8b12b152543ff6c9aaf43396a7a68c1592ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niccol=C3=B2=20Izzo?= Date: Fri, 9 Apr 2021 13:25:44 +0200 Subject: [PATCH] Fix bug on MD380 Fixed a bug where pressing the side button would lead to a crash, probably caused by a misaligned memory access, due to the addition of a packed attribute. --- openrtx/include/ui.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/openrtx/include/ui.h b/openrtx/include/ui.h index 414af321..a379ab59 100644 --- a/openrtx/include/ui.h +++ b/openrtx/include/ui.h @@ -136,8 +136,7 @@ typedef struct layout_t fontSize_t bottom_font; fontSize_t input_font; fontSize_t menu_font; -} -__attribute__((packed)) layout_t; +} layout_t; /** * This structs contains state variables internal to the