mirror of https://github.com/rusefi/bldc.git
Stop lbm completely before erasing firmware
This commit is contained in:
parent
d0821d45f6
commit
a5f198df8e
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue