UDS_14Service_Internal.c 291 Bytes
Newer Older
时昊's avatar
时昊 committed
1 2 3 4 5 6 7 8 9 10
#include "UDS_14Service_Internal.h"

uint8_t DTC_Clear(void)
{
    /*清除DTC和快照的数据*/
    uint8_t enResult;
    DTCToDFlashInfoInit();
    enResult = WriteDFlashData_eel(WriteDTCAddr, (uint32_t *)&DTCToDFlashInfo.Flag, sizeof(DTCToDFlashInfo) , WriteEEL);
    return enResult;
}