mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-03 20:54:32 +02:00
fix(ieee802154): set rx_when_idle to false when Rx stop
This commit is contained in:
@@ -773,6 +773,7 @@ static int process_rx(int argc, char **argv)
|
||||
if (rx_args.receive->count == 1) {
|
||||
if (rx_args.receive->ival[0] == 0) {
|
||||
esp_ieee802154_sleep();
|
||||
esp_ieee802154_set_rx_when_idle(false);
|
||||
ESP_LOGI(TAG, "radio exit receive mode");
|
||||
} else if (rx_args.receive->ival[0] == 1) { // receive, non-blocking
|
||||
ESP_LOGI(TAG, "RX Start");
|
||||
|
Reference in New Issue
Block a user