misc cleanups

This commit is contained in:
Matthew Kennedy 2023-03-06 01:05:48 -08:00
parent e6e16e80b6
commit 68f3b69a2e
4 changed files with 7 additions and 8 deletions

View File

@ -219,7 +219,7 @@ static Logging logicAnalyzerLogger("logic analyzer", logicAnalyzerBuffer, sizeof
* This method is periodically invoked by the main loop * This method is periodically invoked by the main loop
* todo: is this mostly dead code? * todo: is this mostly dead code?
*/ */
void updateDevConsoleState(void) { void updateDevConsoleState() {
#if EFI_PROD_CODE #if EFI_PROD_CODE
// todo: unify with simulator! // todo: unify with simulator!
if (hasFirmwareError()) { if (hasFirmwareError()) {
@ -781,11 +781,11 @@ DcHardware *getdcHardware();
#endif /* EFI_TUNER_STUDIO */ #endif /* EFI_TUNER_STUDIO */
void initStatusLoop(void) { void initStatusLoop() {
addConsoleActionI("warn", setWarningEnabled); addConsoleActionI("warn", setWarningEnabled);
} }
void startStatusThreads(void) { void startStatusThreads() {
// todo: refactoring needed, this file should probably be split into pieces // todo: refactoring needed, this file should probably be split into pieces
#if EFI_PROD_CODE #if EFI_PROD_CODE
initStatusLeds(); initStatusLeds();

View File

@ -9,9 +9,9 @@
#include "rusefi_types.h" #include "rusefi_types.h"
void updateDevConsoleState(void); void updateDevConsoleState();
void startStatusThreads(void); void startStatusThreads();
void initStatusLoop(void); void initStatusLoop();
struct Writer; struct Writer;

View File

@ -1 +0,0 @@

View File

@ -21,6 +21,7 @@
#include "bench_test.h" #include "bench_test.h"
#include "tunerstudio.h" #include "tunerstudio.h"
#include "map_averaging.h" #include "map_averaging.h"
#include "mmc_card.h"
#include "memstreams.h" #include "memstreams.h"
#include <chprintf.h> #include <chprintf.h>
#include "rusefi_lua.h" #include "rusefi_lua.h"
@ -113,7 +114,6 @@ void rusEfiFunctionalTest(void) {
startLoggingProcessor(); startLoggingProcessor();
void initMmcCard();
initMmcCard(); initMmcCard();
runChprintfTest(); runChprintfTest();