mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-27 12:26:48 +01:00
Mi Band 4: Fix RES and FW update
This commit is contained in:
parent
b6e78c1b9c
commit
31db568832
@ -96,10 +96,6 @@ public class UpdateFirmwareOperationNew extends UpdateFirmwareOperation {
|
||||
|
||||
@Override
|
||||
protected byte[] getFirmwareStartCommand() {
|
||||
byte typeByte = 0; //TODO: what is this really?
|
||||
if (getFirmwareInfo().getFirmwareType() == HuamiFirmwareType.WATCHFACE) {
|
||||
typeByte = 1;
|
||||
}
|
||||
return new byte[]{HuamiService.COMMAND_FIRMWARE_START_DATA, typeByte};
|
||||
return new byte[]{HuamiService.COMMAND_FIRMWARE_START_DATA, 1};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user