Commit 61a66c68 authored by 李秉薇's avatar 李秉薇

fix:打开看门狗

parent bd8abfa8
......@@ -31,9 +31,9 @@ extern void Data_Fuel_Consumption_Count_ISR(void);
void WDT_Init(void)
{
//配置看门狗
//wdt_reset();
//COPCTL = WDT_PERIOD; //配置看门狗定时周期
// PLLCTL_PCE = 1; //看门狗在Pseudo Stop模式下持续运行
wdt_reset();
COPCTL = WDT_PERIOD; //配置看门狗定时周期
//PLLCTL_PCE = 1; //看门狗在Pseudo Stop模式下持续运行
}
/******************************************************************************
......
......@@ -11,7 +11,7 @@ Layout=C_layout.hwl
LoadDialogOptions=AUTOERASEANDFLASH RUNANDSTOPAFTERLOAD="main"
CPU=HC12
AEFWarningDialog=FALSE
MainFrame=2,3,-32000,-32000,-1,-1,2158,69,3544,905
MainFrame=2,3,-1,-1,-1,-1,2158,69,3544,905
TOOLBAR=57600 57601 32795 0 57635 57634 57637 0 57671 57669 0 32777 32776 32782 32780 32781 32778 0 32806
Configuration=TBDML.hwc
Statusbar=1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment