hmc5883l.h: change char to uint8_t
authorBrendan Le Foll <brendan.le.foll@intel.com>
Tue, 27 May 2014 10:11:45 +0000 (11:11 +0100)
committerBrendan Le Foll <brendan.le.foll@intel.com>
Tue, 27 May 2014 10:11:45 +0000 (11:11 +0100)
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
src/hmc5883l/hmc5883l.h

index d883770..fb76da3 100644 (file)
@@ -54,7 +54,7 @@ public:
     int update();
 private:
     int m_coor[3];
-    char m_rx_tx_buf[MAX_BUFFER_LENGTH];
+    uint8_t m_rx_tx_buf[MAX_BUFFER_LENGTH];
     maa_i2c_context m_i2c;
 };