From 4231b5761e94daaa15677ba19c31dd6a25b5d6ae Mon Sep 17 00:00:00 2001 From: cfif Date: Thu, 14 May 2026 11:11:01 +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=20=D0=BF=D0=BB=D0=B0=D1=82=D1=8B=20=D0=BD?= =?UTF-8?q?=D0=B0=20V2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CanUds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CanUds.c b/CanUds.c index 8943344..85689eb 100644 --- a/CanUds.c +++ b/CanUds.c @@ -998,9 +998,9 @@ static uint16_t vUDS_routine_Erase_Memory(tCanUds *env, eUdsRoutineControlType u setResponseErrorPending(env, UDS_RoutineControl, UDS_error_requestCorrectlyReceived_ResponsePending); - bool result = env->clear_flash_func(0x01100000, 512 * 1024); +// bool result = env->clear_flash_func(0x01100000, 768 * 1024); -// bool result = FLASHDRIVER_FlashEraseBlock(FLASH_BLOCK_SELECT1); + bool result = FLASHDRIVER_FlashEraseBlock(FLASH_BLOCK_SELECT1); if (result) { env->dataResponse[4] = UDS_routine_RoutineStartStopSuccess;