mirror of https://github.com/FOME-Tech/fome-fw.git
dead (#1451)
This commit is contained in:
parent
d6186c1cf3
commit
a66bcc52f4
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue