From 6d9bd8709fc9b3d747f3649c38eaf91b3e955b54 Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Fri, 26 Oct 2018 13:08:37 +0200 Subject: [PATCH] sys/auto_init: Fixed initialization of sht1x - the driver for sht1x is initialized two times - the second initialization is done only when SAUL is used, but sht1x needs to be initialized in any case. (SAUL registration is also done there, but only when SAUL is actually being used.) This commit fixes both. --- sys/auto_init/auto_init.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/auto_init/auto_init.c b/sys/auto_init/auto_init.c index a15179735a..6e5d9f27eb 100644 --- a/sys/auto_init/auto_init.c +++ b/sys/auto_init/auto_init.c @@ -428,10 +428,6 @@ void auto_init(void) extern void auto_init_pulse_counter(void); auto_init_pulse_counter(); #endif -#ifdef MODULE_SHT1X - extern void auto_init_sht1x(void); - auto_init_sht1x(); -#endif #ifdef MODULE_SI114X extern void auto_init_si114x(void); auto_init_si114x();