diff --git a/firmware/config/boards/proteus_meta.h b/firmware/config/boards/proteus_meta.h index 8df4dbb568..b2a79fa289 100644 --- a/firmware/config/boards/proteus_meta.h +++ b/firmware/config/boards/proteus_meta.h @@ -119,6 +119,7 @@ // PA3 #define PROTEUS_IN_ANALOG_VOLT_8 EFI_ADC_3 +#define PROTEUS_IN_AV_8_DIGITAL Gpio::A3 // PA4 #define PROTEUS_IN_ANALOG_VOLT_9 EFI_ADC_4 @@ -130,6 +131,7 @@ // PA6 #define PROTEUS_IN_ANALOG_VOLT_11 EFI_ADC_6 +#define PROTEUS_IN_AV_11_DIGITAL Gpio::A6 #define PROTEUS_VR_1 Gpio::E7 #define PROTEUS_VR_2 Gpio::E8 diff --git a/firmware/config/engines/canam.cpp b/firmware/config/engines/canam.cpp index eea17c1e09..9d6033ca2c 100644 --- a/firmware/config/engines/canam.cpp +++ b/firmware/config/engines/canam.cpp @@ -34,6 +34,9 @@ void setMaverickX3() { gppwm_channel *accRelayPwm = &engineConfiguration->gppwm[1]; accRelayPwm->pin = Gpio::PROTEUS_LS_4; + + engineConfiguration->luaDigitalInputPins[2] = PROTEUS_IN_AV_10_DIGITAL; + engineConfiguration->luaDigitalInputPins[3] = PROTEUS_IN_AV_8_DIGITAL; #endif // HW_PROTEUS strcpy(engineConfiguration->gpPwmNote[0], "IC Fan");