[riot-notifications] [RIOT-OS/RIOT] bmp180: fixes conversion error (#11154)

Torben Petersen notifications at github.com
Mon Mar 11 13:21:25 CET 2019


Due to wrong typecasting, the bmp180 driver returned wrong temperature and pressure values. 

### Contribution description
This PR fixes the bug in the bmp180 driver.

### Testing procedure

If you want to test this: please note, that in the test driver_bmp180, your altitude is not calculated but set with a define in the makefile. This can be the cause for the test to return weird values for altitude and pressure.



You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/11154

-- Commit Summary --

  * Fixes conversion bug in bmp180 driver

-- File Changes --

    M drivers/bmp180/bmp180.c (14)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/11154.patch
https://github.com/RIOT-OS/RIOT/pull/11154.diff

-- 
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/11154
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190311/7d66e060/attachment-0001.html>


More information about the notifications mailing list