deadish code makes it not build on macos
This commit is contained in:
parent
769a719901
commit
27fb1f092c
|
@ -104,8 +104,6 @@ static void printErrorCounters() {
|
||||||
/* 10mS when receiving byte by byte */
|
/* 10mS when receiving byte by byte */
|
||||||
#define TS_COMMUNICATION_TIMEOUT_SHORT TIME_MS2I(10)
|
#define TS_COMMUNICATION_TIMEOUT_SHORT TIME_MS2I(10)
|
||||||
|
|
||||||
static efitimems_t previousWriteReportMs = 0;
|
|
||||||
|
|
||||||
static void resetTs() {
|
static void resetTs() {
|
||||||
memset(&tsState, 0, sizeof(tsState));
|
memset(&tsState, 0, sizeof(tsState));
|
||||||
}
|
}
|
||||||
|
@ -274,12 +272,6 @@ void TunerStudio::handleWriteValueCommand(TsChannelBase* tsChannel, ts_response_
|
||||||
return;
|
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
|
// Skip the write if a preset was just loaded - we don't want to overwrite it
|
||||||
if (!rebootForPresetPending) {
|
if (!rebootForPresetPending) {
|
||||||
getWorkingPageAddr()[offset] = value;
|
getWorkingPageAddr()[offset] = value;
|
||||||
|
|
Loading…
Reference in New Issue