From aa5e6feb4185d2268d16c43eb95e0773a1d2032f Mon Sep 17 00:00:00 2001 From: rusefi Date: Sun, 8 Mar 2020 09:17:55 -0400 Subject: [PATCH] better message --- firmware/console/binary/tunerstudio.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/console/binary/tunerstudio.cpp b/firmware/console/binary/tunerstudio.cpp index 2d648aa57c..ae2676164e 100644 --- a/firmware/console/binary/tunerstudio.cpp +++ b/firmware/console/binary/tunerstudio.cpp @@ -305,7 +305,7 @@ static void handleGetStructContent(ts_channel_s *tsChannel, int structId, int si // Returns true if an overrun would occur. static bool validateOffsetCount(size_t offset, size_t count, ts_channel_s *tsChannel) { if (offset + count > getTunerStudioPageSize()) { - scheduleMsg(&tsLogger, "ERROR invalid offset %d count %d", offset, count); + scheduleMsg(&tsLogger, "TS: ERROR invalid offset %d count %d", offset, count); tunerStudioError("ERROR: out of range"); sendErrorCode(tsChannel); return true; @@ -631,7 +631,7 @@ void handleQueryCommand(ts_channel_s *tsChannel, ts_response_format_e mode) { */ void handleOutputChannelsCommand(ts_channel_s *tsChannel, ts_response_format_e mode, uint16_t offset, uint16_t count) { if (offset + count > sizeof(TunerStudioOutputChannels)) { - scheduleMsg(&tsLogger, "ERROR invalid offset %d count %d", offset, count); + scheduleMsg(&tsLogger, "TS: ERROR invalid offset %d count %d", offset, count); sendErrorCode(tsChannel); return; }