Skip to content

Commit

Permalink
BMP temperature field was too small
Browse files Browse the repository at this point in the history
uin8_t vs uint16_t
  • Loading branch information
ThirteenFish committed Jul 19, 2015
1 parent 79719b5 commit ca86aa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/devices/include/BMP180.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ struct BMP180Config {

struct BMP180Data {
uint32_t pressure;
uint8_t temperature;
uint16_t temperature;
};

extern EventSource BMP180DataEvt;
Expand Down

0 comments on commit ca86aa8

Please sign in to comment.