diff --git a/system/syslib.c b/system/syslib.c --- a/system/syslib.c +++ b/system/syslib.c @@ -38,9 +38,9 @@ void bootloader_unset(void) void bootloader_enter(void) { FLASH_OBProgramInitTypeDef OBParam; - + HAL_FLASHEx_OBGetConfig(&OBParam); - + // FIXME TODO: CHECK THESE OPTION BYTES, he was using an F1 processor. What about the switch flag? OBParam.OptionType = OPTIONBYTE_USER;