From 1db28d68478b7cf598904b19e4db7b930204eb59 Mon Sep 17 00:00:00 2001 From: rusefi Date: Tue, 25 Jul 2017 21:59:20 -0400 Subject: [PATCH] call to pit progress --- firmware/controllers/settings.cpp | 2 +- firmware/controllers/settings.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/firmware/controllers/settings.cpp b/firmware/controllers/settings.cpp index d83bb867c6..cfecb6740d 100644 --- a/firmware/controllers/settings.cpp +++ b/firmware/controllers/settings.cpp @@ -441,7 +441,7 @@ static void printTemperatureInfo(void) { #endif /* EFI_ANALOG_SENSORS */ } -static void setCallFromPitStop(int durationMs) { +void setCallFromPitStop(int durationMs) { engine->callFromPitStopEndTime = currentTimeMillis() + durationMs; } diff --git a/firmware/controllers/settings.h b/firmware/controllers/settings.h index 9f98803c60..cbe8da326e 100644 --- a/firmware/controllers/settings.h +++ b/firmware/controllers/settings.h @@ -15,6 +15,7 @@ void initSettings(void); void printSpiState(Logging *logger, board_configuration_s *boardConfiguration); void printConfiguration(const engine_configuration_s *engineConfiguration); void stopEngine(void); +void setCallFromPitStop(int durationMs); void setEngineType(int value); const char* getConfigurationName(engine_type_e engineType);