1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-24 10:56:50 +01:00

CMF Watch Pro 2: Fix workout gps recognition

This commit is contained in:
José Rebelo 2024-07-20 08:58:20 +01:00
parent 6dd5d03ea7
commit 99e843606c

View File

@ -438,8 +438,8 @@ public class CmfActivitySync {
return;
}
// Previous to last byte indicates if it has gps
if (summaryBytes[summaryBytes.length - 2] == 1) {
// FIXME: This should be set by CmfWorkoutSummaryParser
if (summaryBytes[30] == 1) {
activitiesWithGps.add(summary);
}
}