only:Brake input should be allowed to be shared between Launch Control and Misc (Issue #6224)

This commit is contained in:
rusefillc 2024-03-15 14:31:07 -06:00
parent 8a5ba90692
commit b6b7b12d13
2 changed files with 2 additions and 1 deletions

View File

@ -562,6 +562,7 @@ typedef enum __attribute__ ((__packed__)) {
SWITCH_INPUT_LAUNCH = 0,
CLUTCH_INPUT_LAUNCH = 1,
ALWAYS_ACTIVE_LAUNCH = 2,
STOP_INPUT_LAUNCH = 3,
} launchActivationMode_e;
typedef enum __attribute__ ((__packed__)) {

View File

@ -955,7 +955,7 @@ bit verboseCan2,"Print all","Do not print";Print incoming and outgoing second bu
Gpio ignitionKeyDigitalPin
int boostPwmFrequency;;"Hz", 1, 0, 0, 3000, 0
#define launchActivationMode_e_enum "Launch Button", "Clutch Down Switch", "Always Active(Disabled By Speed)"
#define launchActivationMode_e_enum "Launch Button", "Clutch Down Switch", "Speed Based", "Brake Pedal"
custom launchActivationMode_e 1 bits, S08, @OFFSET@, [0:1], @@launchActivationMode_e_enum@@
launchActivationMode_e launchActivationMode;