[riot-notifications] [RIOT-OS/RIOT] sys/analog_util: Refactor, add test (#8577)

Joakim NohlgÄrd notifications at github.com
Fri Feb 16 13:16:28 CET 2018


### Contribution description

Add unit test for `adc_util_map` in analog_util
Refactor analog_util and fix some issues which have not been detected because of missing tests.

### Issues/PRs references

fixes #8567 
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * drivers/saul: Show configuration structs in docs
  * unittests: Add analog_util tests
  * sys/analog_util: Add missing include stdint.h
  * sys/analog_util: Refactor, fix compilation problems

-- File Changes --

    M drivers/include/saul/periph.h (8)
    M sys/analog_util/adc_util.c (46)
    M sys/include/analog_util.h (1)
    A tests/unittests/tests-analog_util/Makefile (1)
    A tests/unittests/tests-analog_util/Makefile.include (1)
    A tests/unittests/tests-analog_util/tests-analog_util.c (72)
    A tests/unittests/tests-analog_util/tests-analog_util.h (36)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/8577.patch
https://github.com/RIOT-OS/RIOT/pull/8577.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/8577
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20180216/4230e63f/attachment-0001.html>


More information about the notifications mailing list