From ca86aa82bd8c4f236f0700615e6a2ae2c5be50b7 Mon Sep 17 00:00:00 2001 From: TheoH Date: Sat, 18 Jul 2015 22:00:04 -0700 Subject: [PATCH] BMP temperature field was too small uin8_t vs uint16_t --- common/devices/include/BMP180.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/devices/include/BMP180.h b/common/devices/include/BMP180.h index 0450fab..ed01a2a 100644 --- a/common/devices/include/BMP180.h +++ b/common/devices/include/BMP180.h @@ -11,7 +11,7 @@ struct BMP180Config { struct BMP180Data { uint32_t pressure; - uint8_t temperature; + uint16_t temperature; }; extern EventSource BMP180DataEvt;