From 76e909e23af74f24c22c0ca4595f932bf20e4750 Mon Sep 17 00:00:00 2001 From: rusEfi Date: Thu, 22 Sep 2016 01:02:59 -0400 Subject: [PATCH] auto-sync --- firmware/console/status_loop.cpp | 2 ++ .../simulator/rusEfiFunctionalTest.cpp | 11 ----------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/firmware/console/status_loop.cpp b/firmware/console/status_loop.cpp index 6a64666c2d..b5690062a6 100644 --- a/firmware/console/status_loop.cpp +++ b/firmware/console/status_loop.cpp @@ -210,9 +210,11 @@ static void printSensors(Logging *log, bool fileFormat) { reportSensorF(log, fileFormat, "afr", "AFR", getAfr(PASS_ENGINE_PARAMETER_F), 2); } +#if EFI_IDLE_CONTROL || defined(__DOXYGEN__) if (fileFormat) { reportSensorF(log, fileFormat, "idle", "%", getIdlePosition(), 2); } +#endif /* EFI_IDLE_CONTROL */ #if EFI_ANALOG_SENSORS || defined(__DOXYGEN__) reportSensorF(log, fileFormat, "target", "AFR", engine->engineState.targetAFR, 2); diff --git a/win32_functional_tests/simulator/rusEfiFunctionalTest.cpp b/win32_functional_tests/simulator/rusEfiFunctionalTest.cpp index 69581be642..920ccd2d82 100644 --- a/win32_functional_tests/simulator/rusEfiFunctionalTest.cpp +++ b/win32_functional_tests/simulator/rusEfiFunctionalTest.cpp @@ -38,22 +38,11 @@ extern engine_configuration2_s * engineConfiguration2; extern WaveChart waveChart; -//persistent_config_container_s persistentState; -//static engine_configuration2_s ec2; - static LoggingWithStorage sharedLogger("simulator"); -//engine_configuration_s * engineConfiguration = &persistentState.persistentConfiguration.engineConfiguration; -//board_configuration_s *boardConfiguration = &persistentState.persistentConfiguration.engineConfiguration.bc; -//engine_configuration2_s *engineConfiguration2 = &ec2; - void outputPinRegisterExt2(const char *msg, OutputPin *output, brain_pin_e brainPin, pin_output_mode_e *outputMode) { } -//int isInjectionEnabled(void) { -// return true; -//} - int getRemainingStack(thread_t *otp) { return 99999; }