1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

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.
This commit is contained in:
Marian Buschsieweke 2018-10-26 13:08:37 +02:00
parent 99ae495226
commit 6d9bd8709f
No known key found for this signature in database
GPG Key ID: 61F64C6599B1539F

View File

@ -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();