diff --git a/firmware/console/binary/live_data.cpp b/firmware/console/binary/live_data.cpp index c4af95006f..31c9807d8a 100644 --- a/firmware/console/binary/live_data.cpp +++ b/firmware/console/binary/live_data.cpp @@ -7,6 +7,7 @@ #include "electronic_throttle_impl.h" #include "knock_controller_generated.h" #include "fuel_computer.h" +#include "antilag_generated.h" template<> const output_channels_s* getLiveData(size_t) { @@ -50,6 +51,11 @@ 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(); diff --git a/firmware/controllers/actuators/antilag.txt b/firmware/controllers/actuators/antilag.txt index 8371d5373b..b8170f31de 100644 --- a/firmware/controllers/actuators/antilag.txt +++ b/firmware/controllers/actuators/antilag.txt @@ -1,4 +1,4 @@ -struct_no_prefix anti_lag_s +struct_no_prefix antilag_s bit isCltAllowing diff --git a/firmware/controllers/actuators/antilag_generated.h b/firmware/controllers/actuators/antilag_generated.h index 0ccd548dde..7c8c319820 100644 --- a/firmware/controllers/actuators/antilag_generated.h +++ b/firmware/controllers/actuators/antilag_generated.h @@ -1,10 +1,10 @@ -// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) controllers/actuators/antilag.txt Thu Dec 15 03:42:15 UTC 2022 +// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) controllers/actuators/antilag.txt Wed Dec 14 22:50:16 EST 2022 // by class com.rusefi.output.CHeaderConsumer // begin #pragma once #include "rusefi_types.h" -// start of anti_lag_s -struct anti_lag_s { +// start of antilag_s +struct antilag_s { /** offset 0 bit 0 */ bool isCltAllowing : 1 {}; @@ -102,7 +102,7 @@ struct anti_lag_s { offset 0 bit 31 */ bool unusedBit_1_31 : 1 {}; }; -static_assert(sizeof(anti_lag_s) == 4); +static_assert(sizeof(antilag_s) == 4); // end -// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) controllers/actuators/antilag.txt Thu Dec 15 03:42:15 UTC 2022 +// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) controllers/actuators/antilag.txt Wed Dec 14 22:50:16 EST 2022