diff --git a/src/flash.c b/src/flash.c --- a/src/flash.c +++ b/src/flash.c @@ -39,6 +39,8 @@ void flash_load_defaults(flash_settings_ static void __flash_write(flash_settings_t* tosave) { + //TODO: Check to see if anything has changed before saving + // Erase mem HAL_FLASH_Unlock();