[riot-notifications] [RIOT-OS/RIOT] sys/fmt: Add print byte in decimal (#11210)

MrKevinWeiss notifications at github.com
Tue Mar 19 16:36:29 CET 2019

### Contribution description

Since some formats don't like hex (json) printing a byte in decimal is nice
This takes some shortcuts to try to make it as effient as possible
It doesn't use any mod or div, just add and subtract

### Testing procedure


### Issues/PRs references

None, prep for future stuff though.
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * sys/fmt: Add print byte in decimal

-- File Changes --

    M sys/fmt/fmt.c (58)
    M sys/include/fmt.h (7)

-- Patch Links --


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/20190319/e9e457f3/attachment.html>

More information about the notifications mailing list