[riot-notifications] [RIOT-OS/RIOT] drivers/encx24j600: Allow empty iolist elements (#11325)

Marian Buschsieweke notifications at github.com
Mon Apr 1 16:52:30 CEST 2019


maribu commented on this pull request.



> -    char* out = NULL;
-
-    /* determine pointer addr
-     *
-     * all SRAM access commands have an
-     * offset 0x5e to their pointer registers
-     * */
-    reg = cmd + 0x5e;
-
-    /* read or write? bit 1 tells us */
-    if (reg & 0x2) {
-        out = ptr;
-    } else {
-        in = ptr;
-    }
+    if (len) {

Done. (Due to the simplicity of this PR, I just squashed right away.)

-- 
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/11325#discussion_r270906315
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190401/b50aa8f8/attachment.html>


More information about the notifications mailing list