mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
drivers/ds18: eliminate cast in auto_init_ds18
This commit is contained in:
parent
9ed7d2dc18
commit
b8472550a4
@ -55,7 +55,7 @@ void auto_init_ds18(void)
|
||||
|
||||
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);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user