diff --git a/firmware/hw_layer/board_test.cpp b/firmware/hw_layer/board_test.cpp index 80431a2b87..3ff7bf2495 100644 --- a/firmware/hw_layer/board_test.cpp +++ b/firmware/hw_layer/board_test.cpp @@ -160,11 +160,8 @@ void initBoardTest(void) { while (currentIndex < pinsCount) { currentPin = BLINK_PINS[currentIndex]; - GPIO_TypeDef *hwPort = getHwPort(currentPin); - uint32_t hwPin = getHwPin(currentPin); - printBoardTestState(); - mySetPadMode("test", hwPort, hwPin, PAL_STM32_MODE_OUTPUT); + mySetPadMode2("test", currentPin, PAL_STM32_MODE_OUTPUT); currentIndex++; waitForKey(); diff --git a/firmware/hw_layer/hardware.cpp b/firmware/hw_layer/hardware.cpp index 91db2d8645..d41e5ac211 100644 --- a/firmware/hw_layer/hardware.cpp +++ b/firmware/hw_layer/hardware.cpp @@ -194,8 +194,7 @@ void initHardware(Logging *logger, Engine *engine) { return; } - mySetPadMode("board test", getHwPort(boardConfiguration->boardTestModeJumperPin), - getHwPin(boardConfiguration->boardTestModeJumperPin), PAL_MODE_INPUT_PULLUP); + mySetPadMode2("board test", boardConfiguration->boardTestModeJumperPin, PAL_MODE_INPUT_PULLUP); bool isBoardTestMode_b = GET_BOARD_TEST_MODE_VALUE(); initAdcInputs(); diff --git a/firmware/rusefi.cpp b/firmware/rusefi.cpp index 9ae858ce74..23c9ecfac2 100644 --- a/firmware/rusefi.cpp +++ b/firmware/rusefi.cpp @@ -241,5 +241,5 @@ void firmwareError(const char *fmt, ...) { } int getRusEfiVersion(void) { - return 20141012; + return 20141014; }