mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-09-11 16:56:38 +02:00
Need to pass '0' as parameter to mi band fw metadata info #234
This commit is contained in:
parent
834a727a39
commit
e931cf47d7
@ -193,7 +193,7 @@ public class UpdateFirmwareOperation extends AbstractMiBandOperation {
|
||||
} else {
|
||||
LOG.info("is multi Mi Band firmware, sending fw2 (hr) first");
|
||||
byte[] fw2Info = prepareFirmwareInfo(fw2Bytes, fw2OldVersion, fw2Version, fw2Checksum, 1, rebootWhenFinished /*, progress monitor */);
|
||||
byte[] fw1Info = prepareFirmwareInfo(fw1Bytes, fw1OldVersion, fw1Version, fw1Checksum, 1, rebootWhenFinished /*, progress monitor */);
|
||||
byte[] fw1Info = prepareFirmwareInfo(fw1Bytes, fw1OldVersion, fw1Version, fw1Checksum, 0, rebootWhenFinished /*, progress monitor */);
|
||||
return new DoubleUpdateCoordinator(fw1Info, fw1Bytes, fw2Info, fw2Bytes, rebootWhenFinished);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user