From 9c022b8f529dc75a8ba19013f4c638c4d2442a52 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Fri, 21 Apr 2023 14:41:04 -0400 Subject: [PATCH] only:proteus_f7 --- firmware/config/boards/proteus_meta.h | 1 + firmware/config/engines/hyundai.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/firmware/config/boards/proteus_meta.h b/firmware/config/boards/proteus_meta.h index 8bf17472ff..fe98d7d8e6 100644 --- a/firmware/config/boards/proteus_meta.h +++ b/firmware/config/boards/proteus_meta.h @@ -110,6 +110,7 @@ // PA1 #define PROTEUS_IN_ANALOG_VOLT_6 EFI_ADC_1 +#define PROTEUS_IN_AV_6_DIGITAL Gpio::A1 // PA2 #define PROTEUS_IN_ANALOG_VOLT_7 EFI_ADC_2 diff --git a/firmware/config/engines/hyundai.cpp b/firmware/config/engines/hyundai.cpp index b86ab1a954..dca625c579 100644 --- a/firmware/config/engines/hyundai.cpp +++ b/firmware/config/engines/hyundai.cpp @@ -32,8 +32,8 @@ void setProteusHyundaiPb() { // engineConfiguration->starterControlPin = PROTEUS_LS_14; - engineConfiguration->startStopButtonPin = PROTEUS_DIGITAL_3; - engineConfiguration->startStopButtonMode = PI_PULLUP; + engineConfiguration->startStopButtonPin = PROTEUS_IN_AV_6_DIGITAL; + engineConfiguration->startStopButtonMode = PI_DEFAULT; } static void commonGenesisCoupe() {