[riot-commits] [RIOT-OS/RIOT] 668e05: cpu/atmega: fix PWM compilation error with NDEBUG

benpicco noreply at github.com
Mon Feb 3 08:05:54 CET 2020


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 668e05ed4f6edc706cb508fa4f5e3a31a936e29b
      https://github.com/RIOT-OS/RIOT/commit/668e05ed4f6edc706cb508fa4f5e3a31a936e29b
  Author: Gunar Schorcht <gunar at schorcht.net>
  Date:   2020-02-03 (Mon, 03 Feb 2020)

  Changed paths:
    M cpu/atmega_common/periph/pwm.c

  Log Message:
  -----------
  cpu/atmega: fix PWM compilation error with NDEBUG

When NDEBUG macro is defined during compilation, the assert macro produces empty code. The dev parameter is then unused.


  Commit: e2312d410c9dca217093a942da4c7b9728fcc4d9
      https://github.com/RIOT-OS/RIOT/commit/e2312d410c9dca217093a942da4c7b9728fcc4d9
  Author: benpicco <benpicco at googlemail.com>
  Date:   2020-02-03 (Mon, 03 Feb 2020)

  Changed paths:
    M cpu/atmega_common/periph/pwm.c

  Log Message:
  -----------
  Merge pull request #13263 from gschorcht/cpu/atmega_common/fix_pwm_ndebug_error

cpu/atmega: fix PWM compilation error with NDEBUG


Compare: https://github.com/RIOT-OS/RIOT/compare/f760625cd033...e2312d410c9d


More information about the commits mailing list