From 6b9351f2e2c196cabda4478b9a6ae5cfd19545ed Mon Sep 17 00:00:00 2001 From: cfif Date: Wed, 15 Apr 2026 12:09:44 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Src/InternalFlashPage_PFlash.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Src/InternalFlashPage_PFlash.c b/Src/InternalFlashPage_PFlash.c index a94adda..ae2e4f0 100644 --- a/Src/InternalFlashPage_PFlash.c +++ b/Src/InternalFlashPage_PFlash.c @@ -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)) {