auto-sync

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

View File

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

View File

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

View File

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