Private
Public Access
2
0

i2c: use uint8_t throughout to make code clearer

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2014-05-23 14:21:53 +01:00
parent ded3830951
commit d847ae7847
4 changed files with 15 additions and 15 deletions

View File

@@ -97,7 +97,7 @@ int main ()
i2c = new maa::I2c(0);
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];
i2c->address(HMC5883L_I2C_ADDR);
rx_tx_buf[0] = HMC5883L_CONF_REG_B;