explicit error if not supported

only:uaefi
This commit is contained in:
rusefillc 2024-12-25 20:28:38 -05:00
parent a7345c3f80
commit a86976b6f1
1 changed files with 7 additions and 0 deletions

View File

@ -870,6 +870,13 @@ int TunerStudio::handleCrcCommand(TsChannelBase* tsChannel, char *data, int inco
tsChannel->sendResponse(TS_CRC, trace.get<uint8_t>(), trace.size(), true);
}
break;
#else
case TS_PERF_TRACE_BEGIN:
criticalError("TS_PERF_TRACE not supported");
break;
case TS_PERF_TRACE_GET_BUFFER:
criticalError("TS_PERF_TRACE_GET_BUFFER not supported");
break;
#endif /* ENABLE_PERF_TRACE */
case TS_GET_CONFIG_ERROR: {