Skip to content
Snippets Groups Projects
Commit da16943e authored by Alexandre Abadie's avatar Alexandre Abadie
Browse files

sys/auto_init/saul: update bmp180 saul support with api changes

parent 0e6e3b36
No related branches found
No related tags found
No related merge requests found
...@@ -54,8 +54,7 @@ void auto_init_bmp180(void) ...@@ -54,8 +54,7 @@ void auto_init_bmp180(void)
LOG_DEBUG("[auto_init_saul] initializing bmp180 #%u\n", i); LOG_DEBUG("[auto_init_saul] initializing bmp180 #%u\n", i);
if (bmp180_init(&bmp180_devs[i], if (bmp180_init(&bmp180_devs[i],
bmp180_params[i].i2c_dev, &bmp180_params[i]) != BMP180_OK) {
bmp180_params[i].mode) < 0) {
LOG_ERROR("[auto_init_saul] error initializing bmp180 #%u\n", i); LOG_ERROR("[auto_init_saul] error initializing bmp180 #%u\n", i);
continue; continue;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment