mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
ieee802154: support light sleep
This commit is contained in:
@@ -21,7 +21,6 @@
|
||||
|
||||
esp_err_t esp_ieee802154_enable(void)
|
||||
{
|
||||
|
||||
ieee802154_enable();
|
||||
esp_phy_enable();
|
||||
esp_btbb_enable();
|
||||
@@ -332,6 +331,16 @@ uint8_t esp_ieee802154_get_recent_lqi(void)
|
||||
return ieee802154_get_recent_lqi();
|
||||
}
|
||||
|
||||
void esp_ieee802154_sleep_cb(void)
|
||||
{
|
||||
ieee802154_sleep_cb();
|
||||
}
|
||||
|
||||
void esp_ieee802154_wakeup_cb(void)
|
||||
{
|
||||
ieee802154_wakeup_cb();
|
||||
}
|
||||
|
||||
__attribute__((weak)) void esp_ieee802154_receive_done(uint8_t *data, esp_ieee802154_frame_info_t *frame_info)
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user