[riot-commits] [RIOT-OS/RIOT] 63f49f: sys/phydat: Add phydat_fit

Gaëtan Harter hartergaetan at gmail.com
Thu Mar 22 16:00:01 CET 2018


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 63f49f22d87e605712327c0580e858e42f96507c
      https://github.com/RIOT-OS/RIOT/commit/63f49f22d87e605712327c0580e858e42f96507c
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2018-03-22 (Thu, 22 Mar 2018)

  Changed paths:
    M Makefile.dep
    M sys/include/phydat.h
    A sys/phydat/phydat.c

  Log Message:
  -----------
  sys/phydat: Add phydat_fit

Fits larger values into the 16 bit integers used by phydat and update
scale accordingly.


  Commit: f4fce5b2d2531d7b160981955f7cb71666679cb7
      https://github.com/RIOT-OS/RIOT/commit/f4fce5b2d2531d7b160981955f7cb71666679cb7
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2018-03-22 (Thu, 22 Mar 2018)

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

  Log Message:
  -----------
  unittests: Add test for phydat (phydat_fit)


  Commit: 3e2214d29c8fbc901198bb044a0db81363abf764
      https://github.com/RIOT-OS/RIOT/commit/3e2214d29c8fbc901198bb044a0db81363abf764
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2018-03-22 (Thu, 22 Mar 2018)

  Changed paths:
    M sys/phydat/phydat_str.c

  Log Message:
  -----------
  sys/phydat: Fix Doxygen group for phydat_str.c


  Commit: 57c8b654dd3df03058da5563368ccf27594b9902
      https://github.com/RIOT-OS/RIOT/commit/57c8b654dd3df03058da5563368ccf27594b9902
  Author: Gaëtan Harter <hartergaetan at gmail.com>
  Date:   2018-03-22 (Thu, 22 Mar 2018)

  Changed paths:
    M Makefile.dep
    M sys/include/phydat.h
    A sys/phydat/phydat.c
    M sys/phydat/phydat_str.c
    A tests/unittests/tests-phydat/Makefile
    A tests/unittests/tests-phydat/Makefile.include
    A tests/unittests/tests-phydat/tests-phydat.c
    A tests/unittests/tests-phydat/tests-phydat.h

  Log Message:
  -----------
  Merge pull request #8592 from gebart/pr/phydat-fit

 sys/phydat: Add phydat_fit to rescale values for phydat_t

Fits larger values into the 16 bit integers used by phydat_t and update scale accordingly.
Including a minimal unit test.


Compare: https://github.com/RIOT-OS/RIOT/compare/0f19bdd8601d...57c8b654dd3d


More information about the commits mailing list