auto-sync

This commit is contained in:
rusEfi 2014-10-14 14:02:56 -05:00
parent 1c51c09141
commit fd9337da7b
3 changed files with 3 additions and 7 deletions

View File

@ -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();

View File

@ -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();

View File

@ -241,5 +241,5 @@ void firmwareError(const char *fmt, ...) {
}
int getRusEfiVersion(void) {
return 20141012;
return 20141014;
}