1
0
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:
Kees Bakker 2019-01-06 20:35:27 +01:00
parent 9ed7d2dc18
commit b8472550a4

View File

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