From e0e39bc4f1e3e7bdb40ac2823f85248850cd6457 Mon Sep 17 00:00:00 2001 From: rusefi Date: Fri, 31 Jul 2020 20:08:26 -0400 Subject: [PATCH] let's enlarge... outputs area --- firmware/console/binary/tunerstudio_outputs.h | 4 +++- firmware/integration/rusefi_config.txt | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/firmware/console/binary/tunerstudio_outputs.h b/firmware/console/binary/tunerstudio_outputs.h index fdcb0a815f..7865f6df6c 100644 --- a/firmware/console/binary/tunerstudio_outputs.h +++ b/firmware/console/binary/tunerstudio_outputs.h @@ -225,7 +225,7 @@ typedef struct { scaled_voltage rawOilPressure; // 242 int16_t tuneCrc16; // 244 - uint8_t unusedAtTheEnd[2]; // we have some unused bytes to allow compatible TS changes + uint8_t unusedAtTheEnd[42]; // we have some unused bytes to allow compatible TS changes // Temporary - will remove soon TsDebugChannels* getDebugChannels() { @@ -233,6 +233,8 @@ typedef struct { } /* see also [OutputChannels] in rusefi.input */ + /* see also TS_OUTPUT_SIZE in rusefi_config.txt */ + } TunerStudioOutputChannels; extern TunerStudioOutputChannels tsOutputChannels; diff --git a/firmware/integration/rusefi_config.txt b/firmware/integration/rusefi_config.txt index e4816381ea..948032bfc6 100644 --- a/firmware/integration/rusefi_config.txt +++ b/firmware/integration/rusefi_config.txt @@ -29,7 +29,7 @@ ! this is here so that rusEfi console can access it, too ! [IMPORTANT] every time TS_OUTPUT_SIZE is changed make sure to increment TS_SIGNATURE above ! -#define TS_OUTPUT_SIZE 248 +#define TS_OUTPUT_SIZE 288 ! ! this is used to confirm that firmware and TunerStudio are using the same rusefi.ini version