mirror of https://github.com/ARMmbed/mbed-os.git
K64F: Fix the watchdog mode settings
Enable the Watchdog Timer for the low-power stop modes of operation, including the VLPS used in deepsleep. Enable the Watchdog Timer for the Debug mode.pull/11773/head
parent
8640da4f9d
commit
945a9b3ad5
|
@ -75,8 +75,8 @@ watchdog_status_t hal_watchdog_init(const watchdog_config_t *config)
|
|||
cfg.enableInterrupt = false;
|
||||
cfg.enableWindowMode = false;
|
||||
cfg.workMode.enableWait = true;
|
||||
cfg.workMode.enableStop = false;
|
||||
cfg.workMode.enableDebug = false;
|
||||
cfg.workMode.enableStop = true;
|
||||
cfg.workMode.enableDebug = true;
|
||||
|
||||
const uint32_t prescaler = calculate_prescaler_value(config->timeout_ms);
|
||||
|
||||
|
|
Loading…
Reference in New Issue