summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Cross <sean@xobs.io>2020-05-23 11:17:11 +0800
committerSean Cross <sean@xobs.io>2020-05-27 11:28:50 +0800
commit296ba101ec8895720012660e36c4e34246b6b1b2 (patch)
tree851bb0eb944e33e9cb44bef1f678cfd74e1c022f
parentd0f1b59be54ddd574bdd15a0dd459c74038a5417 (diff)
nrf: set WDT priority to 2
The previous setting of `1` meant that the bluetooth system couldn't be used when the watchdog timer was enabled. Signed-off-by: Sean Cross <sean@xobs.io>
-rw-r--r--ports/nrf/nrfx_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/nrf/nrfx_config.h b/ports/nrf/nrfx_config.h
index 2dcdba14c..b528a6032 100644
--- a/ports/nrf/nrfx_config.h
+++ b/ports/nrf/nrfx_config.h
@@ -127,6 +127,6 @@
#define NRFX_WDT0_ENABLED 1
// This IRQ indicates the system will reboot shortly, so give
// it a high priority.
-#define NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY 1
+#define NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY 2
#endif // NRFX_CONFIG_H__