bmp085: Fix a few bugs