[riot-notifications] [RIOT-OS/RIOT] sys/shell: adapt ifconfig to work with sx1272/76 devices (#7482)

Alexandre Abadie notifications at github.com
Wed Dec 13 22:16:45 CET 2017


aabadie commented on this pull request.



> +            puts("error: unable to parse value.\n"
+                 "Must be a 32-bit unsigned integer (dec or hex)\n");
+            return 1;
+        }
+    }
+    else {
+        if ((res = strtoul(u32_str, NULL, 32)) == ULONG_MAX) {
+            puts("error: unable to parse value.\n"
+                 "Must be a 32-bit unsigned integer (dec or hex)\n");
+            return 1;
+        }
+
+        hex = true;
+    }
+
+    if (res > 0xffffffff) {

Done

-- 
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/7482#discussion_r156787205
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20171213/ca6b6dec/attachment.html>


More information about the notifications mailing list