mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-28 12:56:49 +01:00
HPlus: Fix time sync and Time format (12/24)
This commit is contained in:
parent
22cf74bbd1
commit
006a23dfe8
@ -18,8 +18,8 @@ public final class HPlusConstants {
|
||||
public static final byte ARG_LANGUAGE_CN = 1;
|
||||
public static final byte ARG_LANGUAGE_EN = 2;
|
||||
|
||||
public static final byte ARG_TIMEMODE_24H = 0;
|
||||
public static final byte ARG_TIMEMODE_12H = 1;
|
||||
public static final byte ARG_TIMEMODE_24H = 1;
|
||||
public static final byte ARG_TIMEMODE_12H = 0;
|
||||
|
||||
public static final byte ARG_UNIT_METRIC = 0;
|
||||
public static final byte ARG_UNIT_IMPERIAL = 1;
|
||||
|
@ -141,15 +141,20 @@ public class HPlusSupport extends AbstractBTLEDeviceSupport {
|
||||
setSIT(transaction); //Sync SIT Interval
|
||||
}
|
||||
|
||||
setCurrentDate(transaction);
|
||||
setCurrentTime(transaction);
|
||||
setDayOfWeek(transaction);
|
||||
setTimeMode(transaction);
|
||||
|
||||
setGender(transaction);
|
||||
setAge(transaction);
|
||||
setWeight(transaction);
|
||||
setHeight(transaction);
|
||||
|
||||
setGoal(transaction);
|
||||
setLanguage(transaction);
|
||||
setScreenTime(transaction);
|
||||
setUnit(transaction);
|
||||
setTimeMode(transaction);
|
||||
setAllDayHeart(transaction);
|
||||
|
||||
return this;
|
||||
|
Loading…
Reference in New Issue
Block a user