1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-26 02:25:50 +01:00

MorpheuzSupport: remove limit of 54 samples. Morpheuz 3.1 supports 60

This commit is contained in:
Andreas Shimokawa 2015-06-05 20:26:11 +02:00
parent baecc20742
commit b12a3e74cd

View File

@ -106,7 +106,7 @@ public class MorpheuzSupport {
} else if (intensity <= 1000) {
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);
}