From cd0990ccb45e32378762f09f92b8b2cb21e57e90 Mon Sep 17 00:00:00 2001 From: Andrey Date: Mon, 21 Jun 2021 00:51:25 -0400 Subject: [PATCH] TS Burned All Data engine stop #2839 reusing constant --- firmware/controllers/flash_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/controllers/flash_main.cpp b/firmware/controllers/flash_main.cpp index 7f8947fef0..2497b38d1a 100644 --- a/firmware/controllers/flash_main.cpp +++ b/firmware/controllers/flash_main.cpp @@ -248,7 +248,7 @@ void initFlash() { /** * This would schedule write to flash once the engine is stopped */ - addConsoleAction("burnconfig", requestBurn); + addConsoleAction(CMD_BURNCONFIG, requestBurn); #endif addConsoleAction("resetconfig", doResetConfiguration); addConsoleAction("rewriteconfig", rewriteConfig);