From a86976b6f1b492847826d68731491d7f545bf1b4 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Wed, 25 Dec 2024 20:28:38 -0500 Subject: [PATCH] explicit error if not supported only:uaefi --- firmware/console/binary/tunerstudio.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/firmware/console/binary/tunerstudio.cpp b/firmware/console/binary/tunerstudio.cpp index ce9a1e7df8..c5c8cb6729 100644 --- a/firmware/console/binary/tunerstudio.cpp +++ b/firmware/console/binary/tunerstudio.cpp @@ -871,6 +871,13 @@ int TunerStudio::handleCrcCommand(TsChannelBase* tsChannel, char *data, int inco } 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: { const char* configError = getCriticalErrorMessage();