projects
/
contrib
/
mraa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
274d5b2
)
i2c_HMC5883L.c: fix type in i2c buffer
author
Brendan Le Foll
<brendan.le.foll@intel.com>
Tue, 4 Nov 2014 19:08:08 +0000
(19:08 +0000)
committer
Brendan Le Foll
<brendan.le.foll@intel.com>
Wed, 5 Nov 2014 11:25:40 +0000
(11:25 +0000)
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
examples/i2c_HMC5883L.c
patch
|
blob
|
history
diff --git
a/examples/i2c_HMC5883L.c
b/examples/i2c_HMC5883L.c
index
35ea07e
..
a44983f
100644
(file)
--- a/
examples/i2c_HMC5883L.c
+++ b/
examples/i2c_HMC5883L.c
@@
-81,7
+81,7
@@
main(int argc, char **argv)
mraa_init();
float direction = 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]
mraa_i2c_context i2c;