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:
parent
99ae495226
commit
6d9bd8709f
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user