From 45b81d5def68074712b046769e99fee13b0d973c Mon Sep 17 00:00:00 2001 From: rusefi Date: Sat, 4 Jul 2020 17:46:16 -0400 Subject: [PATCH] detailed error message --- 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 3fa0873f6d..9ff2e5f9c0 100644 --- a/firmware/console/binary/tunerstudio.cpp +++ b/firmware/console/binary/tunerstudio.cpp @@ -648,7 +648,7 @@ void handleQueryCommand(ts_channel_s *tsChannel, ts_response_format_e mode) { */ static void handleOutputChannelsCommand(ts_channel_s *tsChannel, ts_response_format_e mode, uint16_t offset, uint16_t count) { if (offset + count > sizeof(TunerStudioOutputChannels)) { - scheduleMsg(&tsLogger, "TS: Version Mismatch? Too much outpus requested %d/%d/%d", offset, count, + scheduleMsg(&tsLogger, "TS: Version Mismatch? Too much outputs requested %d/%d/%d", offset, count, sizeof(TunerStudioOutputChannels)); sendErrorCode(tsChannel); return;