diff --git a/firmware/console_util/datalogging.c b/firmware/console_util/datalogging.c index b1966ac789..fb42087e3d 100644 --- a/firmware/console_util/datalogging.c +++ b/firmware/console_util/datalogging.c @@ -374,18 +374,6 @@ void scheduleMsg(Logging *logging, const char *fmt, ...) { scheduleLogging(logging); } -// todo: remove this method, replace with 'scheduleMsg' -void scheduleIntValue(Logging *logging, const char *msg, int value) { - resetLogging(logging); - - append(logging, msg); - append(logging, DELIMETER); - appendPrintf(logging, "%d", value); - append(logging, DELIMETER); - - scheduleLogging(logging); -} - void scheduleLogging(Logging *logging) { // this could be done without locking int newLength = efiStrlen(logging->buffer); diff --git a/firmware/console_util/datalogging.h b/firmware/console_util/datalogging.h index cf5b34412b..54268f6140 100644 --- a/firmware/console_util/datalogging.h +++ b/firmware/console_util/datalogging.h @@ -108,8 +108,6 @@ void appendFast(Logging *logging, const char *text); */ void scheduleLogging(Logging *logging); -void scheduleIntValue(Logging *logging, const char *msg, int value); - /** * this should only be invoked by the 'main' thread in order to keep the console safe */ diff --git a/firmware/controllers/trigger/trigger_central.cpp b/firmware/controllers/trigger/trigger_central.cpp index ef450d9e5f..bce72720ef 100644 --- a/firmware/controllers/trigger/trigger_central.cpp +++ b/firmware/controllers/trigger/trigger_central.cpp @@ -205,9 +205,10 @@ static void triggerShapeInfo(Engine *engine) { #if EFI_PROD_CODE extern PwmConfig triggerSignal; -extern uint32_t maxLockTime; #endif /* #if EFI_PROD_CODE */ +extern uint32_t maxLockTime; + static void triggerInfo(Engine *engine) { #if (EFI_PROD_CODE || EFI_SIMULATOR) || defined(__DOXYGEN__) diff --git a/win32_functional_tests/simulator/rusEfiFunctionalTest.cpp b/win32_functional_tests/simulator/rusEfiFunctionalTest.cpp index 43d6e6a9a7..5ad6003b66 100644 --- a/win32_functional_tests/simulator/rusEfiFunctionalTest.cpp +++ b/win32_functional_tests/simulator/rusEfiFunctionalTest.cpp @@ -34,6 +34,8 @@ Engine *engine = &_engine; extern WaveChart waveChart; +uint32_t maxLockTime = 0; + persistent_config_container_s persistentState; static engine_configuration2_s ec2;