diff --git a/firmware/console/binary/output_channels.txt b/firmware/console/binary/output_channels.txt index 851bec497f..4a3fa56731 100644 --- a/firmware/console/binary/output_channels.txt +++ b/firmware/console/binary/output_channels.txt @@ -34,7 +34,6 @@ bit launchTriggered;Launch Control Triggered bit isTps2Error;Error: TPS2 bit injectorFault;Injector Fault bit ignitionFault;Ignition Fault -bit isMainRelayOn; bit isUsbConnected;isUsbConnected\nOriginal reason for this is to check if USB is connected from Lua bit dfcoActive; diff --git a/firmware/console/status_loop.cpp b/firmware/console/status_loop.cpp index d03e4781c7..f525d6575d 100644 --- a/firmware/console/status_loop.cpp +++ b/firmware/console/status_loop.cpp @@ -592,7 +592,6 @@ static void updateIgnition(float rpm) { } static void updateFlags() { - engine->outputChannels.isMainRelayOn = enginePins.mainRelay.getLogicValue(); engine->outputChannels.isFanOn = enginePins.fanRelay.getLogicValue(); engine->outputChannels.isFan2On = enginePins.fanRelay2.getLogicValue(); engine->outputChannels.isO2HeaterOn = enginePins.o2heater.getLogicValue(); diff --git a/firmware/controllers/actuators/main_relay.txt b/firmware/controllers/actuators/main_relay.txt index 1c9e2ccd85..9e38e6ef60 100644 --- a/firmware/controllers/actuators/main_relay.txt +++ b/firmware/controllers/actuators/main_relay.txt @@ -1,6 +1,6 @@ struct_no_prefix main_relay_s - bit isBenchTest - bit hasIgnitionVoltage - bit mainRelayState - bit delayedShutoffRequested + bit isBenchTest;Main relay: Bench test + bit hasIgnitionVoltage;Main relay: Has IGN voltage + bit mainRelayState;Main relay: On + bit delayedShutoffRequested;Main relay: Delayed shutoff end_struct diff --git a/firmware/controllers/algo/launch_control_state.txt b/firmware/controllers/algo/launch_control_state.txt index aa75f0a4d9..3e5d9ed737 100644 --- a/firmware/controllers/algo/launch_control_state.txt +++ b/firmware/controllers/algo/launch_control_state.txt @@ -1,19 +1,18 @@ struct_no_prefix launch_control_state_s - -int retardThresholdRpm + int retardThresholdRpm;Launch: Retard threshold RPM bit launchActivatePinState bit isPreLaunchCondition -bit isLaunchCondition -bit isSwitchActivated -bit isClutchActivated + bit isLaunchCondition;Launch: isLaunchCondition + bit isSwitchActivated;Launch: isSwitchActivated + bit isClutchActivated;Launch: isClutchActivated bit isBrakePedalActivated -bit isValidInputPin + bit isValidInputPin;Launch: isValidInputPin -bit activateSwitchCondition; + bit activateSwitchCondition;Launch: activateSwitchCondition bit rpmLaunchCondition; bit rpmPreLaunchCondition; -bit speedCondition; -bit tpsCondition; + bit speedCondition;Launch: speedCondition + bit tpsCondition;Launch: tpsCondition end_struct