mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-07 03:57:07 +03:00
BT buttons & disconnect when conflicting with LMS
This commit is contained in:
@@ -108,6 +108,7 @@ static void bt_sink_cmd_handler(bt_sink_cmd_t cmd, ...)
|
||||
if (decode.state != DECODE_STOPPED) {
|
||||
LOG_WARN("Cannot use BT sink while LMS is controlling player");
|
||||
UNLOCK_D;
|
||||
bt_sink_cmd(BT_SINK_DISCONNECTED);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user