From fb3c055f85e88e91b5e3d110daee91e5008cd13d Mon Sep 17 00:00:00 2001 From: Federico Amedeo Izzo Date: Mon, 1 Mar 2021 20:52:57 +0100 Subject: [PATCH] Disable writing settings until DFU support is ready --- openrtx/src/state.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openrtx/src/state.c b/openrtx/src/state.c index e359bee3..44491e0c 100644 --- a/openrtx/src/state.c +++ b/openrtx/src/state.c @@ -76,7 +76,8 @@ void state_init() if(valid != 0) { state.settings = default_settings; - nvm_writeSettings(&state.settings); + // NOTE: Settings writing disabled until DFU is implemented + //nvm_writeSettings(&state.settings); } }