[riot-notifications] [RIOT-OS/RIOT] sys/net/gnrc/tx_sync: new module (#15694)

Marian Buschsieweke notifications at github.com
Tue Jan 12 09:04:07 CET 2021

@maribu commented on this pull request.

> +    gnrc_pktsnip_t *tx_sync;
+    tx_sync = IS_USED(MODULE_GNRC_TX_SYNC) ? gnrc_tx_sync_split(pkt) : NULL;

It is still two lines ;-) I personally consider it more readable to not break the ternary operator into two lines. But I guess it is a matter of personal taste and I take your suggestion.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210112/6a799d45/attachment.htm>

More information about the notifications mailing list