Skip to content
Snippets Groups Projects
  • Gunar Schorcht's avatar
    24b71a7f
    cpu/esp8266: call _recv directly in esp_wifi · 24b71a7f
    Gunar Schorcht authored
    Since _esp_wifi_recv_cb is not executed in interrupt context but in the context of the `ets` thread, it is not necessary to pass the`NETDEV_EVENT_ISR` event first. Instead, the receive function can be called directly which result in much faster handling, a less frame lost rate and more robustness.
    24b71a7f
    History
    cpu/esp8266: call _recv directly 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, it is not necessary to pass the`NETDEV_EVENT_ISR` event first. Instead, the receive function can be called directly which result in much faster handling, a less frame lost rate and more robustness.