Stop lbm completely before erasing firmware

This commit is contained in:
Benjamin Vedder 2022-12-08 10:36:23 +01:00
parent d0821d45f6
commit a5f198df8e
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ static const uint16_t flash_sector[FLASH_SECTORS] = {
uint16_t flash_helper_erase_new_app(uint32_t new_app_size) {
#ifdef USE_LISPBM
lispif_stop_lib();
lispif_restart(false, false);
#endif
FLASH_Unlock();