docs
This commit is contained in:
parent
b03ab91f90
commit
d98f35576d
|
@ -840,6 +840,8 @@ void startTunerStudioConnectivity(void) {
|
||||||
static_assert(sizeof(persistent_config_s) == TOTAL_CONFIG_SIZE, "TS datapage size mismatch");
|
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
|
// useful trick if you need to know how far off is the static_assert
|
||||||
// char (*__kaboom)[sizeof(persistent_config_s)] = 1;
|
// char (*__kaboom)[sizeof(persistent_config_s)] = 1;
|
||||||
|
// another useful trick
|
||||||
|
// static_assert(offsetof (engine_configuration_s,HD44780_e) == 700);
|
||||||
|
|
||||||
memset(&tsState, 0, sizeof(tsState));
|
memset(&tsState, 0, sizeof(tsState));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue