Обновление
This commit is contained in:
parent
d36a8a9460
commit
6b9351f2e2
|
|
@ -50,6 +50,8 @@ bool P_bInternalFlashPage_Clear(
|
|||
.wdTriggerFct = (void *) 0
|
||||
};
|
||||
|
||||
FLASHDRIVER_FlashEraseBlock(FLASH_DATA_BLOCK_SELECT0);
|
||||
|
||||
tFlashParam.u32Address = pageAddress;
|
||||
tFlashParam.u32Length = FLASH_PAGE_SIZE;
|
||||
if (FLASH_ERROR_OK != FLASHDRIVER_PFlashEraseSector(&tFlashParam)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue