From 0b1ef9abbbb3618af453d842b72d6d90d79fc1cf Mon Sep 17 00:00:00 2001
From: Gunar Schorcht <gunar@schorcht.net>
Date: Thu, 10 Jan 2019 11:38:03 +0100
Subject: [PATCH] cpu/esp: assert removed in esp_now_recv_cb

assert was added intentionally for debugging purposes. For released version it is enough that function returns.
---
 cpu/esp_common/esp-now/esp_now_netdev.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/cpu/esp_common/esp-now/esp_now_netdev.c b/cpu/esp_common/esp-now/esp_now_netdev.c
index 6a59b25fe1..7de91b105a 100644
--- a/cpu/esp_common/esp-now/esp_now_netdev.c
+++ b/cpu/esp_common/esp-now/esp_now_netdev.c
@@ -213,11 +213,7 @@ static IRAM_ATTR void esp_now_recv_cb(const uint8_t *mac, const uint8_t *data, i
      * `esp_now_recv_cb`. To avoid inconsistencies this is checked by an
      * additional boolean variable . This can not be realized by a mutex
      * because `esp_now_recv_cb` would be reentered from same thread context.
-     * If the NDEBUG macro is undefined, an assertion is used instead for
-     * debugging purposes.
      */
-    assert(!_in_recv_cb);
-
     if (_in_recv_cb) {
         return;
     }
-- 
GitLab