1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-10-20 10:19:34 +02:00

Remove duplicated constants

This commit is contained in:
cpfeiffer 2015-07-21 21:42:04 +02:00
parent 3590c7c853
commit 3662f32dbf

View File

@ -60,16 +60,6 @@ public class MiBandSupport extends AbstractBTLEDeviceSupport {
private static final Logger LOG = LoggerFactory.getLogger(MiBandSupport.class);
public static final int MODE_CHARGING = 6;
public static final int MODE_NONWEAR = 3;
public static final int MODE_NREM = 5;
public static final int MODE_ONBED = 7;
public static final int MODE_REM = 4;
public static final int MODE_RUNNING = 2;
public static final int MODE_SLIENT = 0;
public static final int MODE_USER = 100;
public static final int MODE_WALKING = 1;
//temporary buffer, size is a multiple of 60 because we want to store complete minutes (1 minute = 3 bytes)
private static final int activityDataHolderSize = 3 * 60 * 4; // 8h
private byte[] activityDataHolder = new byte[activityDataHolderSize];