mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/low_buf_count_print_v5.2' into 'release/v5.2'
fix(nimble): Added debug print to check for skipped adv report (v5.2) See merge request espressif/esp-idf!31832
This commit is contained in:
commit
3584fb776e
@ -217,6 +217,7 @@ static int host_rcv_pkt(uint8_t *data, uint16_t len)
|
|||||||
evbuf = ble_transport_alloc_evt(1);
|
evbuf = ble_transport_alloc_evt(1);
|
||||||
/* Skip advertising report if we're out of memory */
|
/* Skip advertising report if we're out of memory */
|
||||||
if (!evbuf) {
|
if (!evbuf) {
|
||||||
|
ESP_LOGI(TAG, "Skipping advertising report due to low memory");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user