[riot-notifications] [RIOT-OS/RIOT] cpu/stm32_common: add watchdog for stm32 (#11252)

Alexandre Abadie notifications at github.com
Wed Sep 4 09:41:12 CEST 2019


aabadie commented on this pull request.



> +    return 0;
+}
+
+int start_loop_wdt(int argc, char **argv)
+{
+    (void)argc;
+    (void)argv;
+    printf("[wdt]: start time: %" PRIu32 " us\n", xtimer_now_usec());
+    wdt_start();
+    while (1) {
+        printf("[wdt]: reset time: %" PRIu32 " us\n", xtimer_now_usec());
+    }
+    return 0;
+}
+
+#if (HAS_WDT_STOP == 1)

```suggestion
#if HAS_WDT_STOP
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11252#pullrequestreview-283429096
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190904/7ff5616d/attachment.htm>


More information about the notifications mailing list