mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(ieee802154): fix ieee802154 sleep state
This commit is contained in:
parent
92d84b468a
commit
a9a16cbd57
@ -804,7 +804,7 @@ esp_err_t ieee802154_sleep(void)
|
||||
ieee802154_enter_critical();
|
||||
|
||||
stop_current_operation();
|
||||
ieee802154_set_state(IEEE802154_STATE_IDLE);
|
||||
ieee802154_set_state(IEEE802154_STATE_SLEEP);
|
||||
|
||||
ieee802154_exit_critical();
|
||||
return ESP_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user