live data: main relay & launch
This commit is contained in:
parent
4995904e0d
commit
3a133f1da7
|
@ -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;
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue