Skip to content

Commit

Permalink
Ensure internal wifi buffers are freed (esp-rs#128)
Browse files Browse the repository at this point in the history
Regardless of whether we can do anything with the incoming packets, we
*must* ensure the drivers packet memory is free.
  • Loading branch information
MabezDev authored and bjoernQ committed May 24, 2024
1 parent 00599fd commit 269d53d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions esp-wifi/src/wifi/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,7 @@ unsafe extern "C" fn recv_cb(

0
} else {
esp_wifi_internal_free_rx_buffer(eb);
1
}
})
Expand Down

0 comments on commit 269d53d

Please sign in to comment.