[riot-notifications] [RIOT-OS/RIOT] tests/driver_bmp180: cleanup application (#12140)

Kees Bakker notifications at github.com
Mon Sep 2 21:59:38 CEST 2019


keestux commented on this pull request.



>                 "Pressure [hPa]: %lu.%d\n"
                "Pressure at see level [hPa]: %lu.%d\n"
               "Altitude [m]: %i\n"
                "\n+-------------------------------------+\n",
-               (int)(temperature / 10), (int)(temperature % 10),
+               (int)(temperature / 10), abs(temperature % 10),

What's the need for abs()

-- 
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/12140#pullrequestreview-282696656
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190902/fa56f79a/attachment.htm>


More information about the notifications mailing list