[riot-commits] [RIOT-OS/RIOT] 9129ea: esp_now: fix unused variable warning

Martine Lenders noreply at github.com
Tue Sep 17 21:59:03 CEST 2019


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 9129ea7399f064957a1d9eb3b0e8d1e302c9eb15
      https://github.com/RIOT-OS/RIOT/commit/9129ea7399f064957a1d9eb3b0e8d1e302c9eb15
  Author: Benjamin Valentin <benjamin.valentin at ml-pa.com>
  Date:   2019-09-17 (Tue, 17 Sep 2019)

  Changed paths:
    M cpu/esp_common/esp-now/esp_now_gnrc.c

  Log Message:
  -----------
  esp_now: fix unused variable warning

esp_now_pkt_hdr_t *hdr is only used if gnrc_sixlowpan is used,
so move it into the according #ifdef

fixes #12257


  Commit: 98482b67c01f145376e300d6f1a71fd2ea8b815a
      https://github.com/RIOT-OS/RIOT/commit/98482b67c01f145376e300d6f1a71fd2ea8b815a
  Author: Martine Lenders <m.lenders at fu-berlin.de>
  Date:   2019-09-17 (Tue, 17 Sep 2019)

  Changed paths:
    M cpu/esp_common/esp-now/esp_now_gnrc.c

  Log Message:
  -----------
  Merge pull request #12263 from benpicco/esp_now-fix

esp_now: fix unused variable warning


Compare: https://github.com/RIOT-OS/RIOT/compare/baebcef79e4f...98482b67c01f


More information about the commits mailing list