mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 20:24:32 +02:00
fix(ieee802154): fix ieee802154 sleep state
This commit is contained in:
@@ -804,7 +804,7 @@ esp_err_t ieee802154_sleep(void)
|
|||||||
ieee802154_enter_critical();
|
ieee802154_enter_critical();
|
||||||
|
|
||||||
stop_current_operation();
|
stop_current_operation();
|
||||||
ieee802154_set_state(IEEE802154_STATE_IDLE);
|
ieee802154_set_state(IEEE802154_STATE_SLEEP);
|
||||||
|
|
||||||
ieee802154_exit_critical();
|
ieee802154_exit_critical();
|
||||||
return ESP_OK;
|
return ESP_OK;
|
||||||
|
Reference in New Issue
Block a user