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.
replace/469c696cfbca3913c41bd800d404ee2476e52237 v0.3.1
Niccolò Izzo 2021-04-09 13:25:44 +02:00
rodzic 0ca7258f03
commit d4ad8b12b1
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -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