This commit is contained in:
2021-02-16 13:19:31 +01:00
parent 901b2fbea4
commit baaf7bf665
3 changed files with 4 additions and 0 deletions

View File

@ -25,6 +25,7 @@ typedef struct __attribute__((__packed__)) s_deviceStats {
} t_deviceStats;
static_assert((sizeof(t_deviceStats) <= EEPROM_WRITE_BLOCK_SIZE), "t_deviceStats has illegal size, must be less than or equal 32");
static_assert((sizeof(t_configBlock) % 32 == 0), "t_configBlock has illegal size, must be dividable by 32");
#define EEPROM_BASE_ADDR 0