From 14a16a4a6f3492baa9f28458ade6e3a118cbca55 Mon Sep 17 00:00:00 2001 From: Alexander Entinger Date: Wed, 28 Apr 2021 11:11:37 +0200 Subject: [PATCH] Disable watchdog for MKR GSM 1400. --- src/utility/watchdog/Watchdog.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utility/watchdog/Watchdog.cpp b/src/utility/watchdog/Watchdog.cpp index e760fd8a7..fd6ada808 100644 --- a/src/utility/watchdog/Watchdog.cpp +++ b/src/utility/watchdog/Watchdog.cpp @@ -51,8 +51,10 @@ static bool is_watchdog_enabled = false; #ifdef ARDUINO_ARCH_SAMD void samd_watchdog_enable() { +#ifndef ARDUINO_SAMD_MKRGSM1400 is_watchdog_enabled = true; Watchdog.enable(SAMD_WATCHDOG_MAX_TIME_ms); +#endif /* ARDUINO_SAMD_MKRGSM1400 */ } void samd_watchdog_reset()