diff --git a/firmware/console/binary/live_data.cpp b/firmware/console/binary/live_data.cpp index cdf0db973e..772c24c8e4 100644 --- a/firmware/console/binary/live_data.cpp +++ b/firmware/console/binary/live_data.cpp @@ -140,7 +140,11 @@ const trigger_state_primary_s* getLiveData(size_t) { template<> const wall_fuel_state_s* getLiveData(size_t) { +#if EFI_ENGINE_CONTROL return &engine->injectionEvents.elements[0].wallFuel; +#else + return nullptr; +#endif } template<>