auto-sync
This commit is contained in:
parent
1c51c09141
commit
fd9337da7b
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -241,5 +241,5 @@ void firmwareError(const char *fmt, ...) {
|
|||
}
|
||||
|
||||
int getRusEfiVersion(void) {
|
||||
return 20141012;
|
||||
return 20141014;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue