From 27fb1f092c4f3d6cbb5a4b052d5f90072e655642 Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Wed, 1 Nov 2023 21:39:39 -0700 Subject: [PATCH] deadish code makes it not build on macos --- firmware/console/binary/tunerstudio.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/firmware/console/binary/tunerstudio.cpp b/firmware/console/binary/tunerstudio.cpp index a59c400c1b..beabce4e22 100644 --- a/firmware/console/binary/tunerstudio.cpp +++ b/firmware/console/binary/tunerstudio.cpp @@ -104,8 +104,6 @@ static void printErrorCounters() { /* 10mS when receiving byte by byte */ #define TS_COMMUNICATION_TIMEOUT_SHORT TIME_MS2I(10) -static efitimems_t previousWriteReportMs = 0; - static void resetTs() { memset(&tsState, 0, sizeof(tsState)); } @@ -274,12 +272,6 @@ void TunerStudio::handleWriteValueCommand(TsChannelBase* tsChannel, ts_response_ return; } - efitimems_t nowMs = getTimeNowMs(); - if (nowMs - previousWriteReportMs > 5) { - previousWriteReportMs = nowMs; - efiPrintf("offset %d: value=%d", offset, value); - } - // Skip the write if a preset was just loaded - we don't want to overwrite it if (!rebootForPresetPending) { getWorkingPageAddr()[offset] = value;