mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-13 11:17:33 +01:00
MorpheuzSupport: remove limit of 54 samples. Morpheuz 3.1 supports 60
This commit is contained in:
parent
baecc20742
commit
b12a3e74cd
@ -106,7 +106,7 @@ public class MorpheuzSupport {
|
|||||||
} else if (intensity <= 1000) {
|
} else if (intensity <= 1000) {
|
||||||
type = GBActivitySample.TYPE_LIGHT_SLEEP;
|
type = GBActivitySample.TYPE_LIGHT_SLEEP;
|
||||||
}
|
}
|
||||||
if (index >= 0 && index < 54) {
|
if (index >= 0) {
|
||||||
GBApplication.getActivityDatabaseHandler().addGBActivitySample(recording_base_timestamp + index * 600, GBActivitySample.PROVIDER_PEBBLE_MORPHEUZ, intensity, (byte) 0, type);
|
GBApplication.getActivityDatabaseHandler().addGBActivitySample(recording_base_timestamp + index * 600, GBActivitySample.PROVIDER_PEBBLE_MORPHEUZ, intensity, (byte) 0, type);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user