1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-10-02 11:17:00 +02:00

Sony WH-1000XM4: Attemptto fix handling of speak to cheat enabled

This commit is contained in:
José Rebelo 2023-03-24 00:38:59 +00:00
parent 2ec68dbef4
commit 58686ae7d7

View File

@ -770,7 +770,7 @@ public class SonyProtocolImplV1 extends AbstractSonyProtocolImpl {
return Collections.emptyList();
}
if (payload[1] != 0x01) {
if (payload[2] != 0x01) {
// TODO: Handle these, setting speak to chat sends a 0x02 back
LOG.warn("Not speak to chat enabled, ignoring");
return Collections.emptyList();