diff --git a/firmware/console/binary/live_data.cpp b/firmware/console/binary/live_data.cpp index 772c24c8e4..6d3865a224 100644 --- a/firmware/console/binary/live_data.cpp +++ b/firmware/console/binary/live_data.cpp @@ -168,7 +168,11 @@ const sent_state_s* getLiveData(size_t) { template<> const throttle_model_s* getLiveData(size_t) { +#if EFI_IDLE_CONTROL return &engine->module().unmock(); +#else + return nullptr; +#endif } static const FragmentEntry fragments[] = {