[riot-commits] [RIOT-OS/RIOT] 345557: sys/arduino: fix of compilation error with NDEBUG

Marian Buschsieweke noreply at github.com
Mon Feb 3 09:06:57 CET 2020


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

  Changed paths:
    M sys/arduino/SPI.cpp

  Log Message:
  -----------
  sys/arduino: fix of compilation error with NDEBUG

When NDEBUG macro is defined during compilation, the assert macro produces empty code. Parameters or variables checked with assert are then unused.


  Commit: 769209351aeb9f4941703d2ab58a9e8253a98570
      https://github.com/RIOT-OS/RIOT/commit/769209351aeb9f4941703d2ab58a9e8253a98570
  Author: Marian Buschsieweke <maribu at users.noreply.github.com>
  Date:   2020-02-03 (Mon, 03 Feb 2020)

  Changed paths:
    M sys/arduino/SPI.cpp

  Log Message:
  -----------
  Merge pull request #13264 from gschorcht/sys/arduinu/fix_spi_ndebug_error

sys/arduino: fix of compilation error in with NDEBUG


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


More information about the commits mailing list