[riot-commits] [RIOT-OS/RIOT] 11b668: sys/analog_util: Add missing include stdint.h

Kaspar Schleiser kaspar at schleiser.de
Tue Apr 17 10:40:57 CEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 11b668fd6d9e0c53660f3e6b0cd8f88d1ca5b082
      https://github.com/RIOT-OS/RIOT/commit/11b668fd6d9e0c53660f3e6b0cd8f88d1ca5b082
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2018-04-16 (Mon, 16 Apr 2018)

  Changed paths:
    M sys/include/analog_util.h

  Log Message:
  -----------
  sys/analog_util: Add missing include stdint.h


  Commit: 57f6081960cd0425b7956c0e246ddaf8826e2682
      https://github.com/RIOT-OS/RIOT/commit/57f6081960cd0425b7956c0e246ddaf8826e2682
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2018-04-16 (Mon, 16 Apr 2018)

  Changed paths:
    M sys/analog_util/adc_util.c
    M sys/include/analog_util.h

  Log Message:
  -----------
  sys/analog_util: Refactor adc_map, fix compilation

Change the API to use int32_t instead of int, to allow for greater
flexibility on 8- and 16-bit platforms. Removed limitation on input
arguments that min < max. Times where it can be useful to have min > max
is when measuring a sensor where a higher measured voltage means a lower
physical value. For example a thermistor can be connected so that the
measured voltage goes down when the temperature goes up.


  Commit: 69e9767184dd4f18b9a4dd26e437d5912496ac8f
      https://github.com/RIOT-OS/RIOT/commit/69e9767184dd4f18b9a4dd26e437d5912496ac8f
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2018-04-16 (Mon, 16 Apr 2018)

  Changed paths:
    A tests/unittests/tests-analog_util/Makefile
    A tests/unittests/tests-analog_util/Makefile.include
    A tests/unittests/tests-analog_util/tests-analog_util.c
    A tests/unittests/tests-analog_util/tests-analog_util.h

  Log Message:
  -----------
  unittests: Add analog_util tests


  Commit: f18f25c5c24f54d21bd7dff0e17efd93dcc99e56
      https://github.com/RIOT-OS/RIOT/commit/f18f25c5c24f54d21bd7dff0e17efd93dcc99e56
  Author: Kaspar Schleiser <kaspar at schleiser.de>
  Date:   2018-04-17 (Tue, 17 Apr 2018)

  Changed paths:
    M sys/analog_util/adc_util.c
    M sys/include/analog_util.h
    A tests/unittests/tests-analog_util/Makefile
    A tests/unittests/tests-analog_util/Makefile.include
    A tests/unittests/tests-analog_util/tests-analog_util.c
    A tests/unittests/tests-analog_util/tests-analog_util.h

  Log Message:
  -----------
  Merge pull request #8577 from gebart/pr/analog_util-refactor

sys/analog_util: Refactor, add test


Compare: https://github.com/RIOT-OS/RIOT/compare/ef0f2ef9abd8...f18f25c5c24f


More information about the commits mailing list