Skip to content
Snippets Groups Projects
Commit b8472550 authored by Kees Bakker's avatar Kees Bakker
Browse files

drivers/ds18: eliminate cast in auto_init_ds18

parent 9ed7d2dc
No related branches found
No related tags found
No related merge requests found
...@@ -55,7 +55,7 @@ void auto_init_ds18(void) ...@@ -55,7 +55,7 @@ void auto_init_ds18(void)
LOG_DEBUG("[auto_init_saul] initializing ds18 #%u\n", i); LOG_DEBUG("[auto_init_saul] initializing ds18 #%u\n", i);
if (ds18_init(&ds18_devs[i], (ds18_params_t *) p) < 0) { if (ds18_init(&ds18_devs[i], p) < 0) {
LOG_ERROR("[auto_init_saul] error initializing ds18 #%u\n", i); LOG_ERROR("[auto_init_saul] error initializing ds18 #%u\n", i);
return; return;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment