cpu/esp: comment about non-existing mutex removed
This commit is contained in:
parent
0b1ef9abbb
commit
68a02fd1c6
@ -240,7 +240,6 @@ static IRAM_ATTR void esp_now_recv_cb(const uint8_t *mac, const uint8_t *data, i
|
|||||||
/*
|
/*
|
||||||
* Since we are not in the interrupt context, we do not have to pass
|
* Since we are not in the interrupt context, we do not have to pass
|
||||||
* `NETDEV_EVENT_ISR` first. We can call the receive function directly.
|
* `NETDEV_EVENT_ISR` first. We can call the receive function directly.
|
||||||
* But we have to unlock the mutex and enable interrupts before.
|
|
||||||
*/
|
*/
|
||||||
if (_esp_now_dev.netdev.event_callback) {
|
if (_esp_now_dev.netdev.event_callback) {
|
||||||
_esp_now_dev.netdev.event_callback((netdev_t*)&_esp_now_dev,
|
_esp_now_dev.netdev.event_callback((netdev_t*)&_esp_now_dev,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user