[riot-notifications] [RIOT-OS/RIOT] sys, fmt: simplify fmt_s16_dfp, and update documentation (#7499)

Sebastian Meiling notifications at github.com
Wed Sep 20 12:10:19 CEST 2017


smlng commented on this pull request.



>      len = fmt_s16_dfp(out, val, fpp);
     out[len] = '\0';
-    TEST_ASSERT_EQUAL_INT(0, len);

or more correctly, it can return `0` because its a perfectly normal number, but it does not return `0` on error.

-- 
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/7499#discussion_r139928461
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20170920/c4e7b592/attachment.html>


More information about the notifications mailing list