[riot-notifications] [RIOT-OS/RIOT] sx127x: ignore empty iolist element (#11215)

José Alamos notifications at github.com
Mon Apr 1 10:15:54 CEST 2019


@smlng the `_get_state` call doesn't call any SPI routines (just returns the value of an internal variable). Both guards have very low chances to be called (since most of the time is running LoRaWAN which follows some slots) and in case of raw sx127x, I'm pretty sure there will be more calls to the _get_state than the `size==0` guard. So I would probably leave it as it is ;)

-- 
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/11215#issuecomment-478481071
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190401/2956f2f0/attachment.html>


More information about the notifications mailing list