mirror of https://github.com/rusefi/rusefi.git
parent
4e416e1c20
commit
a6c0c5b991
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue