mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-01 06:22:55 +01:00
Amazfit bip: Support flashing latest latin font
This commit is contained in:
parent
a4c7cdb2a5
commit
8df99bf5bd
@ -182,7 +182,7 @@ public class AmazfitBipFirmwareInfo extends HuamiFirmwareInfo {
|
|||||||
if (ArrayUtils.startsWith(bytes, NEWFT_HEADER)) {
|
if (ArrayUtils.startsWith(bytes, NEWFT_HEADER)) {
|
||||||
if (bytes[10] == 0x01) {
|
if (bytes[10] == 0x01) {
|
||||||
return HuamiFirmwareType.FONT;
|
return HuamiFirmwareType.FONT;
|
||||||
} else if (bytes[10] == 0x02) {
|
} else if (bytes[10] == 0x02 || bytes[10] == 0x0A) {
|
||||||
return HuamiFirmwareType.FONT_LATIN;
|
return HuamiFirmwareType.FONT_LATIN;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user