Add TSettings assert

This commit is contained in:
Theo Arends 2021-11-11 11:20:56 +01:00
parent e69522f70b
commit 568726be6f
1 changed files with 2 additions and 0 deletions

View File

@ -763,6 +763,8 @@ typedef struct {
uint32_t cfg_crc32; // FFC
} TSettings;
static_assert(sizeof(TSettings) == 4096, "TSettings Size is not correct");
typedef struct {
uint16_t valid; // 280 (RTC memory offset 100 - sizeof(RTCRBT))
uint8_t fast_reboot_count; // 282