[riot-notifications] [RIOT-OS/RIOT] SAUL: Extract name form saul_adc_params_t (#11397)
notifications at github.com
Mon Apr 15 14:44:05 CEST 2019
### Contribution description
**See #11396 for some background**
This PR extracts the information that actually belongs to a `saul_reg_info_t` structure from the `saul_adc_params_t` (currently just the name), and creates an array of structures that holds that information, like all other drivers do, making everything more consistent.
### Testing procedure
Run `examples/saul` and check that the names of the ADCs are correctly displayed.
### Issues/PRs references
You can view, comment on, or merge this pull request online at:
-- Commit Summary --
* saul_adc: Use saul_reg_info_t
* boards: Add saul_adc_info
-- File Changes --
M boards/firefly/include/adc_params.h (14)
M boards/frdm-k22f/include/adc_params.h (25)
M boards/frdm-k64f/include/adc_params.h (68)
M boards/frdm-kw41z/include/adc_params.h (22)
M boards/mega-xplained/include/adc_params.h (14)
M boards/mulle/include/adc_params.h (42)
M boards/phynode-kw41z/include/adc_params.h (14)
M boards/remote-pa/include/adc_params.h (12)
M boards/remote-reva/include/adc_params.h (14)
M boards/remote-revb/include/adc_params.h (14)
M boards/usb-kw41z/include/adc_params.h (14)
M drivers/include/saul/periph.h (1)
M sys/auto_init/saul/auto_init_adc.c (10)
-- Patch Links --
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications