From 56f214d679d854c9c5da469fc43c699fa3b44da1 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Sun, 17 Apr 2022 13:28:43 -0400 Subject: [PATCH] logging of live data structs was: data points #3614 exciting --- firmware/console/binary/tunerstudio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/console/binary/tunerstudio.cpp b/firmware/console/binary/tunerstudio.cpp index 63490d653c..631cb37dc9 100644 --- a/firmware/console/binary/tunerstudio.cpp +++ b/firmware/console/binary/tunerstudio.cpp @@ -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;