From a66bcc52f4db1962e875120b7f537de24b2f03ce Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Sun, 17 May 2020 14:43:27 -0700 Subject: [PATCH] dead (#1451) --- firmware/console/status_loop.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/firmware/console/status_loop.cpp b/firmware/console/status_loop.cpp index fe0d690e60..5abd1fc5b4 100644 --- a/firmware/console/status_loop.cpp +++ b/firmware/console/status_loop.cpp @@ -380,15 +380,10 @@ void writeLogLine(void) { #endif /* EFI_FILE_LOGGING */ } -volatile int needToReportStatus = FALSE; static int prevCkpEventCounter = -1; static LoggingWithStorage logger2("main event handler"); -static void printStatus(void) { - needToReportStatus = TRUE; -} - /** * Time when the firmware version was reported last time, in seconds * TODO: implement a request/response instead of just constantly sending this out @@ -1049,11 +1044,6 @@ void initStatusLoop(void) { addConsoleActionFF("fuelinfo2", (VoidFloatFloat) showFuelInfo2); addConsoleAction("fuelinfo", showFuelInfo); #endif - -#if EFI_PROD_CODE - - addConsoleAction("status", printStatus); -#endif /* EFI_PROD_CODE */ } void startStatusThreads(void) {