auto-sync
This commit is contained in:
parent
3d1c58a849
commit
6b197dceb6
|
@ -160,11 +160,8 @@ void initBoardTest(void) {
|
||||||
while (currentIndex < pinsCount) {
|
while (currentIndex < pinsCount) {
|
||||||
currentPin = BLINK_PINS[currentIndex];
|
currentPin = BLINK_PINS[currentIndex];
|
||||||
|
|
||||||
GPIO_TypeDef *hwPort = getHwPort(currentPin);
|
|
||||||
uint32_t hwPin = getHwPin(currentPin);
|
|
||||||
|
|
||||||
printBoardTestState();
|
printBoardTestState();
|
||||||
mySetPadMode("test", hwPort, hwPin, PAL_STM32_MODE_OUTPUT);
|
mySetPadMode2("test", currentPin, PAL_STM32_MODE_OUTPUT);
|
||||||
|
|
||||||
currentIndex++;
|
currentIndex++;
|
||||||
waitForKey();
|
waitForKey();
|
||||||
|
|
|
@ -194,8 +194,7 @@ void initHardware(Logging *logger, Engine *engine) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
mySetPadMode("board test", getHwPort(boardConfiguration->boardTestModeJumperPin),
|
mySetPadMode2("board test", boardConfiguration->boardTestModeJumperPin, PAL_MODE_INPUT_PULLUP);
|
||||||
getHwPin(boardConfiguration->boardTestModeJumperPin), PAL_MODE_INPUT_PULLUP);
|
|
||||||
bool isBoardTestMode_b = GET_BOARD_TEST_MODE_VALUE();
|
bool isBoardTestMode_b = GET_BOARD_TEST_MODE_VALUE();
|
||||||
|
|
||||||
initAdcInputs();
|
initAdcInputs();
|
||||||
|
|
|
@ -241,5 +241,5 @@ void firmwareError(const char *fmt, ...) {
|
||||||
}
|
}
|
||||||
|
|
||||||
int getRusEfiVersion(void) {
|
int getRusEfiVersion(void) {
|
||||||
return 20141012;
|
return 20141014;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue