Skip to content
Snippets Groups Projects
  • Gunar Schorcht's avatar
    f12606d7
    cpu/esp8266: removes the mutex in esp_wifi · f12606d7
    Gunar Schorcht authored
    Since _esp_wifi_recv_cb is not executed in interrupt context but in the context of the `ets` thread, the receive function can be called directly. There is no need for a mutex anymore to synchronize the access to the receive buffer between _esp_wifi_recv_cb and _recv function.
    f12606d7
    History
    cpu/esp8266: removes the mutex in esp_wifi
    Gunar Schorcht authored
    Since _esp_wifi_recv_cb is not executed in interrupt context but in the context of the `ets` thread, the receive function can be called directly. There is no need for a mutex anymore to synchronize the access to the receive buffer between _esp_wifi_recv_cb and _recv function.