kopia lustrzana https://github.com/espressif/esp-idf
Fixed the crash caused by calling esp_a2d_media_ctrl(ESP_A2D_MEDIA_CTRL_START) after stream started
rodzic
061ae4c07a
commit
c5af97759f
|
@ -146,7 +146,6 @@ void btc_a2dp_control_media_ctrl(esp_a2d_media_ctrl_t ctrl)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
} else if (btc_av_stream_started_ready()) {
|
} else if (btc_av_stream_started_ready()) {
|
||||||
btc_a2dp_dispatch_datapath_evt(BTC_AV_DATAPATH_OPEN_EVT);
|
|
||||||
btc_a2dp_control_command_ack(ESP_A2D_MEDIA_CTRL_ACK_SUCCESS);
|
btc_a2dp_control_command_ack(ESP_A2D_MEDIA_CTRL_ACK_SUCCESS);
|
||||||
} else {
|
} else {
|
||||||
btc_a2dp_control_command_ack(ESP_A2D_MEDIA_CTRL_ACK_FAILURE);
|
btc_a2dp_control_command_ack(ESP_A2D_MEDIA_CTRL_ACK_FAILURE);
|
||||||
|
|
Ładowanie…
Reference in New Issue