Skip to content

Commit f76f8b7

Browse files
committed
bt_app_av: BT_OTA_LOCKED_BIT should not be cleared once set
1 parent 7dcb3d2 commit f76f8b7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

main/src/user/bt_app_av.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,6 @@ static void bt_av_hdl_a2d_evt(uint16_t event, void *p_param)
156156

157157
audio_mp3_play(1);
158158
led_set_mode(3);
159-
160-
xEventGroupClearBits(user_event_group, BT_OTA_LOCKED_BIT);
161159
} else if (a2d->conn_stat.state == ESP_A2D_CONNECTION_STATE_CONNECTED) {
162160
xEventGroupSetBits(user_event_group, BT_OTA_LOCKED_BIT);
163161

0 commit comments

Comments
 (0)