This commit is contained in:
rusefillc 2022-04-25 00:36:12 -04:00
parent b03ab91f90
commit d98f35576d
1 changed files with 2 additions and 0 deletions

View File

@ -840,6 +840,8 @@ void startTunerStudioConnectivity(void) {
static_assert(sizeof(persistent_config_s) == TOTAL_CONFIG_SIZE, "TS datapage size mismatch");
// useful trick if you need to know how far off is the static_assert
// char (*__kaboom)[sizeof(persistent_config_s)] = 1;
// another useful trick
// static_assert(offsetof (engine_configuration_s,HD44780_e) == 700);
memset(&tsState, 0, sizeof(tsState));