[riot-notifications] [RIOT-OS/RIOT] sys/auto_init: Updated sht1x auto_init (#11872)

Marian Buschsieweke notifications at github.com
Fri Jul 19 13:02:56 CEST 2019


### Contribution description

This PR adapts the SHT1X auto init code to match the new API suggested in https://github.com/RIOT-OS/RIOT/pull/11871.

### Testing procedure

- Grab an MSB-A2 and check if the SHT1X driver is properly auto initialized e.g. in `/examples/saul`.
- Check if auto-initialization can be properly disabled

### Issues/PRs references

- Depends and includes https://github.com/RIOT-OS/RIOT/pull/11871
- The new auto initialization of sensors/actuators was discussed in https://github.com/RIOT-OS/RIOT/issues/11826
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/11872

-- Commit Summary --

  * sys/auto_init: Add modules for sensors & actuators
  * sys/auto_init: Adapted SHT1x auto_init

-- File Changes --

    M drivers/Makefile.dep (3)
    M drivers/include/sht1x.h (61)
    M drivers/sht1x/include/sht1x_params.h (7)
    A drivers/sht1x/include/sht1x_types.h (82)
    M makefiles/pseudomodules.inc.mk (3)
    M sys/Makefile.dep (18)
    M sys/auto_init/Makefile (8)
    A sys/auto_init/actuators/Makefile (7)
    A sys/auto_init/actuators/auto_init_actuators.c (27)
    A sys/auto_init/actuators/doc.txt (15)
    M sys/auto_init/auto_init.c (18)
    A sys/auto_init/sensors/Makefile (7)
    A sys/auto_init/sensors/auto_init_sensors.c (31)
    A sys/auto_init/sensors/doc.txt (15)
    R sys/auto_init/sensors/sht1x.c (29)
    M sys/shell/commands/sc_sht1x.c (18)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/11872.patch
https://github.com/RIOT-OS/RIOT/pull/11872.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11872
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190719/e6975526/attachment.htm>


More information about the notifications mailing list