[riot-notifications] [RIOT-OS/RIOT] tests/ieee802154_submac: remove netdev dependency (#16826)

José Alamos notifications at github.com
Tue Sep 28 15:48:46 CEST 2021


@jia200x commented on this pull request.



> +static inline int _dehex(char c, int default_)
+{
+    if ('0' <= c && c <= '9') {
+        return c - '0';
+    }
+    else if ('A' <= c && c <= 'F') {
+        return c - 'A' + 10;
+    }
+    else if ('a' <= c && c <= 'f') {
+        return c - 'a' + 10;
+    }
+    else {
+        return default_;
+    }
+}

I guess so. But I simply copied this one from the other tests

-- 
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/16826#discussion_r717596704
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210928/38a50908/attachment-0001.htm>


More information about the notifications mailing list