TLS115_PG feedback #5762

only:uaefi
This commit is contained in:
rusefillc 2024-02-18 20:24:25 -05:00
parent 4e416e1c20
commit a6c0c5b991
2 changed files with 7 additions and 0 deletions

View File

@ -11,6 +11,12 @@ void setHellenCan() {
engineConfiguration->canRxPin = H176_CAN_RX;
}
static void init5vpDiag() {
#ifdef DIAG_5VP_PIN
startInputPinIfValid("5VP_STATE", DIAG_5VP_PIN, PI_DEFAULT);
#endif // DIAG_5VP_PIN
}
void setHellenVbatt() {
// 4.7k high side/4.7k low side = 2.0 ratio divider
engineConfiguration->analogInputDividerCoefficient = 2.0f;

View File

@ -20,6 +20,7 @@ DDEFS += -DEFI_MAX_31855=TRUE
DDEFS += -DHELLEN_BOARD_ID_DEBUG
DDEFS += -DHW_HELLEN_UAEFI=1
DDEFS += -DDIAG_5VP_PIN=Gpio::MM100_SPI3_MOSI
ONBOARD_MEMS_TYPE=LIS2DH12