1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-27 20:36:51 +01:00

Mi Band 4: Support flashing the V2 font that came with beta FW 1.0.6.00

Only tested with 1.0.6.00
It now contains new characters like äöüß and others.
This commit is contained in:
Andreas Shimokawa 2019-08-21 23:24:51 +02:00
parent d7c6fad235
commit c1145e1244

View File

@ -65,7 +65,7 @@ public class MiBand4FirmwareInfo extends HuamiFirmwareInfo {
return HuamiFirmwareType.WATCHFACE;
}
if (ArrayUtils.startsWith(bytes, NEWFT_HEADER)) {
if (bytes[10] == 0x03) {
if (bytes[10] == 0x03 || bytes[10] == 0x06) {
return HuamiFirmwareType.FONT;
}
}