mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
feat(ieee802154): make the receive done handler feature mandatory
This commit is contained in:
@@ -822,6 +822,7 @@ void esp_ieee802154_transmit_done(const uint8_t *frame, const uint8_t *ack, esp_
|
||||
if (ack != NULL) {
|
||||
ESP_EARLY_LOGI(TAG, "Rx ack %d bytes", ack[0]);
|
||||
esp_ieee802154_frame_print(ack);
|
||||
esp_ieee802154_receive_handle_done(ack);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -829,6 +830,7 @@ void esp_ieee802154_receive_done(uint8_t *frame, esp_ieee802154_frame_info_t *fr
|
||||
{
|
||||
ESP_EARLY_LOGI(TAG, "Rx Done %d bytes", frame[0]);
|
||||
esp_ieee802154_frame_print(frame);
|
||||
esp_ieee802154_receive_handle_done(frame);
|
||||
}
|
||||
|
||||
void esp_ieee802154_energy_detect_done(int8_t power)
|
||||
|
||||
Reference in New Issue
Block a user