mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-29 12:05:53 +01:00
Nothing CMF Watch Pro: Fix music playback status
These two values were swapped, meaning a double press of play/pause was needed to change state. This also fixes the wrong play/pause button state showing during playback. Tested on firmware 11.0.0.50
This commit is contained in:
parent
731ca67dcb
commit
0becaa4334
@ -502,9 +502,9 @@ public class CmfWatchProSupport extends AbstractBTLEDeviceSupport implements Cmf
|
||||
if (musicSpec == null || musicStateSpec == null) {
|
||||
stateByte = 0x00;
|
||||
} else if (musicStateSpec.state == MusicStateSpec.STATE_PLAYING) {
|
||||
stateByte = 0x01;
|
||||
} else {
|
||||
stateByte = 0x02;
|
||||
} else {
|
||||
stateByte = 0x01;
|
||||
}
|
||||
|
||||
final byte[] track;
|
||||
|
Loading…
Reference in New Issue
Block a user