From e7fbd7f9277b0537b522db929fda4e6dc3fc389a Mon Sep 17 00:00:00 2001 From: rusefillc Date: Sun, 18 Feb 2024 20:44:26 -0500 Subject: [PATCH] TLS115_PG feedback #5762 only:uaefi --- firmware/config/boards/hellen/hellen_common.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/firmware/config/boards/hellen/hellen_common.cpp b/firmware/config/boards/hellen/hellen_common.cpp index 1e2109f151..3dcc6f633e 100644 --- a/firmware/config/boards/hellen/hellen_common.cpp +++ b/firmware/config/boards/hellen/hellen_common.cpp @@ -13,7 +13,7 @@ void setHellenCan() { static void init5vpDiag() { #ifdef DIAG_5VP_PIN - startInputPinIfValid("5VP_STATE", DIAG_5VP_PIN, PI_DEFAULT); + efiSetPadMode("5VP_STATE", DIAG_5VP_PIN, PAL_MODE_INPUT); #endif // DIAG_5VP_PIN } @@ -28,6 +28,8 @@ void setHellenVbatt() { engineConfiguration->vbattAdcChannel = H144_IN_VBATT; engineConfiguration->adcVcc = 3.29f; + + init5vpDiag(); // piggy back on popular 'setHellenVbatt' method } void setHellen64Can() {