Private
Public Access
2
0

I2c-compass.cpp: fix example to use char instead of uint8_t

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2014-07-01 14:55:47 +01:00
parent 70ba5a56ab
commit 8eff646cb0

View File

@@ -95,7 +95,7 @@ int main ()
{
float direction = 0;
int16_t x = 0, y = 0, z = 0;
uint8_t rx_tx_buf[MAX_BUFFER_LENGTH];
char rx_tx_buf[MAX_BUFFER_LENGTH];
//! [Interesting]
mraa::I2c* i2c;