[riot-notifications] [RIOT-OS/RIOT] tests/driver_sht2x: avoid negative number after decimal dot (#12164)

benpicco notifications at github.com
Tue Sep 3 21:16:49 CEST 2019

> I don't have the device so I can't really test.

I mean the format string is device independent, no?
If we assume the documentation is right, `temp` will be

> `Temperature in hundredths of a degree Celsius`

so we can set `int16_t temp = -1005;` and test the behavior of `printf()` locally.

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/20190903/cfe3d33e/attachment.htm>

More information about the notifications mailing list