diff --git a/CanUds.c b/CanUds.c index 7e23308..ddf16d4 100644 --- a/CanUds.c +++ b/CanUds.c @@ -960,7 +960,7 @@ static uint16_t vUDS_routine_Erase_Memory(tCanUds *env, eUdsRoutineControlType u if ((udsRoutineControlType == UDS_routine_StartRoutine) || (udsRoutineControlType == UDS_routine_StopRoutine)) { - bool result = env->clear_flash_func(0x01010000, 512 * 1024); + bool result = env->clear_flash_func(0x01010000, 1 * 2048); if (result) { env->dataResponse[4] = UDS_routine_RoutineStartStopSuccess;