[riot-commits] [RIOT-OS/RIOT] c9c8c9: sys/xtimer: introduce xtimer_left_usec()

Koen Zandberg noreply at github.com
Tue Apr 21 12:15:58 CEST 2020


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: c9c8c98a4b4765b400c8565c01103d721cf6d6c6
      https://github.com/RIOT-OS/RIOT/commit/c9c8c98a4b4765b400c8565c01103d721cf6d6c6
  Author: Kaspar Schleiser <kaspar at schleiser.de>
  Date:   2020-04-21 (Tue, 21 Apr 2020)

  Changed paths:
    M sys/include/xtimer.h
    M sys/xtimer/xtimer.c

  Log Message:
  -----------
  sys/xtimer: introduce xtimer_left_usec()


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

  Changed paths:
    M sys/evtimer/evtimer.c

  Log Message:
  -----------
  sys/evtimer: make use of xtimer_left_usec()


  Commit: 022855338475bf53e3617044a4ad75384f465183
      https://github.com/RIOT-OS/RIOT/commit/022855338475bf53e3617044a4ad75384f465183
  Author: Kaspar Schleiser <kaspar at schleiser.de>
  Date:   2020-04-21 (Tue, 21 Apr 2020)

  Changed paths:
    M sys/shell/commands/sc_gnrc_rpl.c

  Log Message:
  -----------
  sys/shell: rpl: make use of xtimer_left_usec()


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

  Changed paths:
    M tests/rng/test.c

  Log Message:
  -----------
  tests/rng: remove explicit zeroing of xtimer members


  Commit: 9800b7bf2cd30342520d66e45a3e86eb08aac097
      https://github.com/RIOT-OS/RIOT/commit/9800b7bf2cd30342520d66e45a3e86eb08aac097
  Author: Kaspar Schleiser <kaspar at schleiser.de>
  Date:   2020-04-21 (Tue, 21 Apr 2020)

  Changed paths:
    M tests/bench_timers/main.c

  Log Message:
  -----------
  tests/bench_timers: remove explicit zeroing of xtimer members


  Commit: 2f9b77920da2d06fad6dc3d29faeb82079400e98
      https://github.com/RIOT-OS/RIOT/commit/2f9b77920da2d06fad6dc3d29faeb82079400e98
  Author: Kaspar Schleiser <kaspar at schleiser.de>
  Date:   2020-04-21 (Tue, 21 Apr 2020)

  Changed paths:
    M pkg/semtech-loramac/contrib/semtech_loramac_timer.c

  Log Message:
  -----------
  pkg/semtech-loramac: TimerInit(): use static struct initializer

Previously, TimerInit() explicitly set some values of the xtimer truct
to "0". This commit changes it to use a static struct initializer
`(xtimer_t){0}`. The advantage is that now this is independent of the
actual xtimer structure.

Now this also resets the remaining xtimer fields, but they're properly
re-populated elsewhere (by using xtimer_set_msg()).


  Commit: 84594e94cb006d9cdff2f74f2fdf8a7bc4e55510
      https://github.com/RIOT-OS/RIOT/commit/84594e94cb006d9cdff2f74f2fdf8a7bc4e55510
  Author: Kaspar Schleiser <kaspar at schleiser.de>
  Date:   2020-04-21 (Tue, 21 Apr 2020)

  Changed paths:
    R pkg/ndn-riot/patches/0001-update-xtimer_member_names.patch
    A pkg/ndn-riot/patches/0001-update-xtimer_t-struct-clearing.patch

  Log Message:
  -----------
  pkg/ndn-riot: update patch to do implizit xtimer_t zeroing


  Commit: 1492dc0655029c115425f1452b6e87b4bf0dce7f
      https://github.com/RIOT-OS/RIOT/commit/1492dc0655029c115425f1452b6e87b4bf0dce7f
  Author: Kaspar Schleiser <kaspar at schleiser.de>
  Date:   2020-04-21 (Tue, 21 Apr 2020)

  Changed paths:
    M tests/gnrc_ipv6_nib/Makefile.ci

  Log Message:
  -----------
  tests/gnrc_ipv6_nib: memory-blacklist msb-430h


  Commit: 5293e5400c803fd063a42c6710b4fc6e4296dd3e
      https://github.com/RIOT-OS/RIOT/commit/5293e5400c803fd063a42c6710b4fc6e4296dd3e
  Author: Koen Zandberg <koen at bergzand.net>
  Date:   2020-04-21 (Tue, 21 Apr 2020)

  Changed paths:
    R pkg/ndn-riot/patches/0001-update-xtimer_member_names.patch
    A pkg/ndn-riot/patches/0001-update-xtimer_t-struct-clearing.patch
    M pkg/semtech-loramac/contrib/semtech_loramac_timer.c
    M sys/evtimer/evtimer.c
    M sys/include/xtimer.h
    M sys/shell/commands/sc_gnrc_rpl.c
    M sys/xtimer/xtimer.c
    M tests/bench_timers/main.c
    M tests/gnrc_ipv6_nib/Makefile.ci
    M tests/rng/test.c

  Log Message:
  -----------
  Merge pull request #13210 from kaspar030/add_xtimer_left

sys/xtimer: remove uses of xtimer internal struct members


Compare: https://github.com/RIOT-OS/RIOT/compare/3d8f71768c26...5293e5400c80


More information about the commits mailing list