deadish code makes it not build on macos

This commit is contained in:
Matthew Kennedy 2023-11-01 21:39:39 -07:00
parent 52e28d1892
commit a8247afe89
1 changed files with 0 additions and 8 deletions

View File

@ -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));
}
@ -209,12 +207,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;