mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-29 05:16:51 +01:00
Sony WH-1000XM5: Fix speak-to-chat enable/disable
This commit is contained in:
parent
5c78488e93
commit
57ef0ded64
@ -359,9 +359,9 @@ public class SonyProtocolImplV3 extends SonyProtocolImplV2 {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
|
||||
final Boolean disabled = booleanFromByte(payload[3]);
|
||||
final Boolean disabled = booleanFromByte(payload[2]);
|
||||
if (disabled == null) {
|
||||
LOG.warn("Unknown speak to chat enabled code {}", String.format("%02x", payload[3]));
|
||||
LOG.warn("Unknown speak to chat enabled code {}", String.format("%02x", payload[2]));
|
||||
return Collections.emptyList();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user