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:
g_p 2024-03-24 20:15:56 +00:00
parent 731ca67dcb
commit 0becaa4334
1 changed files with 2 additions and 2 deletions

View File

@ -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;