[Taranis] WDT set to 500ms instead of 1500ms

This commit is contained in:
bsongis@gmail.com
2013-05-11 05:46:56 +00:00
parent 4dfa4d7249
commit 3be0515cf2
+1 -1
View File
@@ -149,7 +149,7 @@ void watchdogInit()
IWDG->KR = 0x5555 ; // Unlock registers
IWDG->PR = 3 ; // Divide by 32 => 1kHz clock
IWDG->KR = 0x5555 ; // Unlock registers
IWDG->RLR = 1500 ; // 1.5 seconds nominal
IWDG->RLR = 500 ; // 1.5 seconds nominal
IWDG->KR = 0xAAAA ; // reload
IWDG->KR = 0xCCCC ; // start
}