mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-26 20:26:32 +00:00
Add TSettings assert
This commit is contained in:
parent
e69522f70b
commit
568726be6f
@ -763,6 +763,8 @@ typedef struct {
|
|||||||
uint32_t cfg_crc32; // FFC
|
uint32_t cfg_crc32; // FFC
|
||||||
} TSettings;
|
} TSettings;
|
||||||
|
|
||||||
|
static_assert(sizeof(TSettings) == 4096, "TSettings Size is not correct");
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint16_t valid; // 280 (RTC memory offset 100 - sizeof(RTCRBT))
|
uint16_t valid; // 280 (RTC memory offset 100 - sizeof(RTCRBT))
|
||||||
uint8_t fast_reboot_count; // 282
|
uint8_t fast_reboot_count; // 282
|
||||||
|
Loading…
x
Reference in New Issue
Block a user