From f50c0655e63be35f55f96edb1b7f45476f16c7cf Mon Sep 17 00:00:00 2001 From: rusEfi Date: Tue, 14 Oct 2014 15:03:06 -0500 Subject: [PATCH] auto-sync --- firmware/controllers/engine_controller.cpp | 5 +++++ firmware/controllers/settings.cpp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/firmware/controllers/engine_controller.cpp b/firmware/controllers/engine_controller.cpp index fd556643c4..9df282f130 100644 --- a/firmware/controllers/engine_controller.cpp +++ b/firmware/controllers/engine_controller.cpp @@ -181,6 +181,11 @@ static void onEvenyGeneralMilliseconds(void *arg) { engine.watchdog(); engine.updateSlowSensors(); + for (int i = 0; i < LE_COMMAND_COUNT; i++) { + if (boardConfiguration->gpioPins[i] != GPIO_NONE) { + } + } + #if EFI_FUEL_PUMP if (boardConfiguration->fuelPumpPin != GPIO_NONE && engineConfiguration->isFuelPumpEnabled) { if (fuelPumpLogic == NULL) { diff --git a/firmware/controllers/settings.cpp b/firmware/controllers/settings.cpp index e455ebefcc..648ef358db 100644 --- a/firmware/controllers/settings.cpp +++ b/firmware/controllers/settings.cpp @@ -162,7 +162,7 @@ void printConfiguration(engine_configuration_s *engineConfiguration, engine_conf for (int i = 0; i < LE_COMMAND_COUNT; i++) { char * exp = boardConfiguration->le_formulas[i]; if (exp[0] != 0) { - scheduleMsg(&logger, "user out %d [%s]", i, exp); + scheduleMsg(&logger, "user out %d [%s] at %s", i, exp, hwPortname(boardConfiguration->gpioPins[i])); } } }