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

benpicco notifications at github.com
Mon Sep 2 18:32:29 CEST 2019


benpicco commented on this pull request.



> @@ -73,12 +74,12 @@ int main(void)
         /* Get altitude in meters */
         int16_t altitude = bmp180_altitude(&dev, pressure_0);
 
-        printf("Temperature [°C]: %d.%d\n"
+        printf("Temperature [°C]: %i.%d\n"

Both `%i` and `%d` have the same meaning, but they are wildly mixed in the rest of the file too, so whatever you like better 🤷‍♂ 

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


More information about the notifications mailing list