1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:32:45 +01:00

drivers/io1_xplained: adapt to at30tse75x new init api

This commit is contained in:
Alexandre Abadie 2018-07-04 17:37:23 +02:00 committed by dylad
parent 5f1d5e0d83
commit 779de1e3d2

View File

@ -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;