mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 13:38:38 -04:00
HAL_ChibiOS: fixed watchdog timeout setting
This commit is contained in:
parent
3b5463f061
commit
f0f36c6237
@ -63,7 +63,7 @@ void stm32_watchdog_init(void)
|
||||
{
|
||||
// setup for 2s reset
|
||||
IWDGD.KR = 0x5555;
|
||||
IWDGD.PR = 16;
|
||||
IWDGD.PR = 2; // div16
|
||||
IWDGD.RLR = 0xFFF;
|
||||
IWDGD.KR = 0xCCCC;
|
||||
watchdog_enabled = true;
|
||||
|
Loading…
Reference in New Issue
Block a user