[riot-commits] [RIOT-OS/RIOT] 4032cf: tests/trickle: initialize prev_now in main

Kaspar Schleiser kaspar at schleiser.de
Fri May 11 20:57:02 CEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 4032cf73b02b528d1aa1a391b4c97ff19b19df86
      https://github.com/RIOT-OS/RIOT/commit/4032cf73b02b528d1aa1a391b4c97ff19b19df86
  Author: Gaƫtan Harter <gaetan.harter at fu-berlin.de>
  Date:   2018-05-11 (Fri, 11 May 2018)

  Changed paths:
    M tests/trickle/main.c

  Log Message:
  -----------
  tests/trickle: initialize prev_now in main

Having `prev_now` initialized to 0 breaks tests on `arduino-zero` and
`arduino-mega2560` as `xtimer_now_usec` is way bigger (72k on `arduino-zero`).

Issue found in:
* #9052 and proposed fix by ZetaR60
* https://github.com/RIOT-OS/Release-Specs/issues/62#issuecomment-387421737


  Commit: e05b780a1096303621af831de07560e8f0fb666d
      https://github.com/RIOT-OS/RIOT/commit/e05b780a1096303621af831de07560e8f0fb666d
  Author: Kaspar Schleiser <kaspar at schleiser.de>
  Date:   2018-05-11 (Fri, 11 May 2018)

  Changed paths:
    M tests/trickle/main.c

  Log Message:
  -----------
  Merge pull request #9118 from cladmi/pr/tests/trickle

tests/trickle: initialize prev_now in main


Compare: https://github.com/RIOT-OS/RIOT/compare/b11b80646592...e05b780a1096
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the commits mailing list