[riot-notifications] [RIOT-OS/RIOT] ndp: provide define for common hop-limit (#11011)

Martine Lenders notifications at github.com
Tue Feb 19 09:47:27 CET 2019


> > You want me to do a `printf("%u", NDP_HOP_LIMIT)` instead of `printf("255")`, right?
> 
> Exactly
> 
> > I'm against that.
> 
> Why? It seems cleaner to me that the debug message takes the expected value from the define.

Because it is adding dynamic code for static configuration (that moreover is not supposed to be changed).

-- 
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/11011#issuecomment-465041640
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190219/17788ea7/attachment-0001.html>


More information about the notifications mailing list