From f8d4caec811baf370230b2b8b1185f099dbb03b6 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Fri, 16 Dec 2022 20:38:13 -0500 Subject: [PATCH] TurboMarian is the ALS boss --- firmware/console/binary/live_data.cpp | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/firmware/console/binary/live_data.cpp b/firmware/console/binary/live_data.cpp index fc7f7b0ea8..8e81844bd1 100644 --- a/firmware/console/binary/live_data.cpp +++ b/firmware/console/binary/live_data.cpp @@ -37,6 +37,16 @@ const launch_control_state_s* getLiveData(size_t) { #endif } +template<> +const antilag_system_state_s* getLiveData(size_t) { +#if EFI_ANTILAG_SYSTEM + return nullptr; +// return &engine->antilagController; +#else + return nullptr; +#endif +} + template<> const injector_model_s* getLiveData(size_t) { return &engine->module().unmock(); @@ -51,11 +61,6 @@ const boost_control_s* getLiveData(size_t) { #endif } -template<> -const antilag_s* getLiveData(size_t) { - return nullptr; -} - template<> const ac_control_s* getLiveData(size_t) { return &engine->module().unmock();