mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 10:52:44 +01:00
drivers/io1_xplained: adapt to at30tse75x new init api
This commit is contained in:
parent
5f1d5e0d83
commit
779de1e3d2
@ -41,7 +41,6 @@ int io1_xplained_init(io1_xplained_t *dev, const io1_xplained_params_t *params)
|
||||
/* Initialize I2C interface */
|
||||
if (at30tse75x_init(&dev->temp,
|
||||
I2C_DEV(0),
|
||||
I2C_SPEED_NORMAL,
|
||||
(IO1_TEMPERATURE_BASE_ADDR | dev->params.addr)) < 0) {
|
||||
DEBUG("[io1_xplained] Cannot initialize temperature sensor.\n");
|
||||
return -IO1_XPLAINED_NOTEMP;
|
||||
|
Loading…
Reference in New Issue
Block a user