From d98f35576dfaec643413a3b4456491e450ef1082 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Mon, 25 Apr 2022 00:36:12 -0400 Subject: [PATCH] docs --- firmware/console/binary/tunerstudio.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/firmware/console/binary/tunerstudio.cpp b/firmware/console/binary/tunerstudio.cpp index 60d1071d8f..8844cea9ad 100644 --- a/firmware/console/binary/tunerstudio.cpp +++ b/firmware/console/binary/tunerstudio.cpp @@ -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));