Обновление платы на V2

This commit is contained in:
cfif 2026-05-14 11:11:01 +03:00
parent c13fab1272
commit 4231b5761e
1 changed files with 2 additions and 2 deletions

View File

@ -998,9 +998,9 @@ static uint16_t vUDS_routine_Erase_Memory(tCanUds *env, eUdsRoutineControlType u
setResponseErrorPending(env, UDS_RoutineControl, UDS_error_requestCorrectlyReceived_ResponsePending); 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) { if (result) {
env->dataResponse[4] = UDS_routine_RoutineStartStopSuccess; env->dataResponse[4] = UDS_routine_RoutineStartStopSuccess;