i2c_HMC5883L.c: fix type in i2c buffer
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
@@ -81,7 +81,7 @@ main(int argc, char **argv)
|
|||||||
mraa_init();
|
mraa_init();
|
||||||
float direction = 0;
|
float direction = 0;
|
||||||
int16_t x = 0, y = 0, z = 0;
|
int16_t x = 0, y = 0, z = 0;
|
||||||
char rx_tx_buf[MAX_BUFFER_LENGTH];
|
uint8_t rx_tx_buf[MAX_BUFFER_LENGTH];
|
||||||
|
|
||||||
//! [Interesting]
|
//! [Interesting]
|
||||||
mraa_i2c_context i2c;
|
mraa_i2c_context i2c;
|
||||||
|
|||||||
Reference in New Issue
Block a user