We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f8ace8 commit c9370f3Copy full SHA for c9370f3
targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/watchdog_api.c
@@ -35,10 +35,11 @@ watchdog_status_t hal_watchdog_init(const watchdog_config_t *config)
35
return WATCHDOG_STATUS_INVALID_ARGUMENT;
36
}
37
38
- nrfx_wdt_config_t nrf_cfg = NRFX_WDT_DEAFULT_CONFIG;
+ nrfx_wdt_config_t nrf_cfg;
39
40
nrf_cfg.reload_value = config->timeout_ms;
41
nrf_cfg.behaviour = NRF_WDT_BEHAVIOUR_RUN_SLEEP_HALT;
42
+ nrf_cfg.interrupt_priority = NRFX_WDT_CONFIG_NO_IRQ;
43
44
err_code = nrfx_wdt_init(&nrf_cfg, dummy);
45
if (err_code != NRFX_SUCCESS) {
0 commit comments