diff --git a/firmware/controllers/flash_main.cpp b/firmware/controllers/flash_main.cpp index adb77abedf..cc46897a04 100644 --- a/firmware/controllers/flash_main.cpp +++ b/firmware/controllers/flash_main.cpp @@ -192,7 +192,7 @@ void initFlash(Logging *sharedLogger) { /** * This would write NOW (you should not be doing this while connected to real engine) */ - addConsoleAction("writeconfig", writeConfigCommand); + addConsoleAction(CMD_WRITECONFIG, writeConfigCommand); #if EFI_TUNER_STUDIO /** * This would schedule write to flash once the engine is stopped