[riot-notifications] [RIOT-OS/RIOT] tests: periph_pm: add peripheral test. (#8848)

Bas Stottelaar notifications at github.com
Wed Apr 4 11:08:08 CEST 2018


basilfx commented on this pull request.



> +    fflush(stdout);
+
+    pm_unblock(mode);
+
+    return 0;
+}
+
+#ifdef MODULE_PERIPH_RTC
+static int cmd_unblock_rtc(int argc, char **argv)
+{
+    struct tm time;
+
+    int mode = parse_mode(argc, argv);
+    int duration = parse_duration(argc, argv);
+
+    if (mode < 0 || duration < 0) {

This would indicate a error code, so I need to check this here.

-- 
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/8848#discussion_r179072232
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20180404/163a8988/attachment.html>


More information about the notifications mailing list