mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
Sony WH-1000XM5: Fix speak-to-chat enable/disable
This commit is contained in:
+2
-2
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user