mirror of https://github.com/FOME-Tech/fome-fw.git
parent
50a25aef6d
commit
2b0b9313d1
|
@ -838,7 +838,7 @@ int TunerStudio::handleCrcCommand(TsChannelBase* tsChannel, char *data, int inco
|
|||
void startTunerStudioConnectivity(void) {
|
||||
// Assert tune & output channel struct sizes
|
||||
static_assert(sizeof(persistent_config_s) == TOTAL_CONFIG_SIZE, "TS datapage size mismatch");
|
||||
static_assert(sizeof(TunerStudioOutputChannels) == TS_OUTPUT_SIZE, "TS output channels size mismatch");
|
||||
static_assert(sizeof(TunerStudioOutputChannels) == FRAGMENT_OUTPUT_CHANNELS_SIZE, "TS output channels size mismatch");
|
||||
// useful trick if you need to know how far off is the static_assert
|
||||
// char (*__kaboom)[sizeof(persistent_config_s)] = 1;
|
||||
|
||||
|
|
Loading…
Reference in New Issue