[riot-commits] [RIOT-OS/RIOT] d6e474: mips32r2_common/periph/timer: fix return values

Gaëtan Harter hartergaetan at gmail.com
Fri Apr 13 14:32:14 CEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: d6e47461baa88e8da599c7855b4c316ed2528c79
      https://github.com/RIOT-OS/RIOT/commit/d6e47461baa88e8da599c7855b4c316ed2528c79
  Author: Gaëtan Harter <gaetan.harter at fu-berlin.de>
  Date:   2018-03-22 (Thu, 22 Mar 2018)

  Changed paths:
    M cpu/mips32r2_common/periph/timer.c

  Log Message:
  -----------
  mips32r2_common/periph/timer: fix return values

Fix 'timer_set', 'timer_set_absolute' and 'timer_clear' return value to 1 on
success as documented in the API.


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

  Changed paths:
    M cpu/mips32r2_generic/include/periph_cpu.h

  Log Message:
  -----------
  cpu/mips32r2_generic: Add PERIPH_TIMER_PROVIDES_SET

mips32r2_common already implements timer_set so it should not be provided by
periph_common/timer to avoid multiple definition errors currently hidden by the
linker.

The firmware was using the one from `mips32r2_common` before (binary checked).
So behaviour is identical.


  Commit: e876bbd0aecf60d211ec1880af9fd4648e228d44
      https://github.com/RIOT-OS/RIOT/commit/e876bbd0aecf60d211ec1880af9fd4648e228d44
  Author: Gaëtan Harter <hartergaetan at gmail.com>
  Date:   2018-04-13 (Fri, 13 Apr 2018)

  Changed paths:
    M cpu/mips32r2_common/periph/timer.c
    M cpu/mips32r2_generic/include/periph_cpu.h

  Log Message:
  -----------
  Merge pull request #8817 from cladmi/pr/ld/mips32r2_timer_set

mips32r2_common: timer fixes


Compare: https://github.com/RIOT-OS/RIOT/compare/0f0b50effb81...e876bbd0aecf


More information about the commits mailing list