mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-01-11 19:29:50 +00:00
Minor data type correction.
This commit is contained in:
parent
f23c59644c
commit
3bb58b7c82
@ -171,7 +171,7 @@ i2c_single_send(uint8_t slave_addr, uint8_t data)
|
||||
uint8_t
|
||||
i2c_single_receive(uint8_t slave_addr, uint8_t *data)
|
||||
{
|
||||
uint32_t temp;
|
||||
uint8_t temp;
|
||||
|
||||
i2c_master_set_slave_address(slave_addr, I2C_RECEIVE);
|
||||
i2c_master_command(I2C_MASTER_CMD_SINGLE_RECEIVE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user