Squeeze in the InitialPage to keep compatibilty and alignment

pull/46/head
Pawel Jalocha 2021-06-06 19:47:13 +01:00
rodzic bc49ca37c9
commit 4bc371b50d
1 zmienionych plików z 7 dodań i 2 usunięć

Wyświetl plik

@ -124,8 +124,13 @@ class FlashParameters
// char Copilot[16]
// char Category[16]
uint32_t PageMask; // enable/disable individual pages on the LCD or OLED screen
uint8_t InitialPage; // the first page to show after boot
union
{ uint32_t Page;
struct
{ uint32_t PageMask:27; // enable/disable individual pages on the LCD or OLED screen
uint8_t InitialPage:5; // the first page to show after boot
} ;
} ;
#if defined(WITH_BT_SPP) || defined(WITH_BLE_SPP)
char BTname[16];