mirror of
https://github.com/CTCaer/hekate.git
synced 2024-11-10 04:21:45 +00:00
nyx: add info about new InnoLux panel revision
This commit is contained in:
parent
cb633a8f32
commit
44db160ab1
1 changed files with 5 additions and 2 deletions
|
@ -453,7 +453,7 @@ t210b01:;
|
||||||
cal0->bd_mac[0], cal0->bd_mac[1], cal0->bd_mac[2], cal0->bd_mac[3], cal0->bd_mac[4], cal0->bd_mac[5],
|
cal0->bd_mac[0], cal0->bd_mac[1], cal0->bd_mac[2], cal0->bd_mac[3], cal0->bd_mac[4], cal0->bd_mac[5],
|
||||||
cal0->battery_lot);
|
cal0->battery_lot);
|
||||||
|
|
||||||
u8 display_rev = (nyx_str->info.disp_id >> 8) & 0xFF;
|
u8 display_rev = (cal0->lcd_vendor >> 8) & 0xFF;
|
||||||
u32 display_id = (cal0->lcd_vendor & 0xFF) << 8 | (cal0->lcd_vendor & 0xFF0000) >> 16;
|
u32 display_id = (cal0->lcd_vendor & 0xFF) << 8 | (cal0->lcd_vendor & 0xFF0000) >> 16;
|
||||||
switch (display_id)
|
switch (display_id)
|
||||||
{
|
{
|
||||||
|
@ -887,6 +887,9 @@ static lv_res_t _create_window_fuses_info_status(lv_obj_t *btn)
|
||||||
case 0x96:
|
case 0x96:
|
||||||
strcat(txt_buf, "-AZ3");
|
strcat(txt_buf, "-AZ3");
|
||||||
break;
|
break;
|
||||||
|
case 0x98:
|
||||||
|
strcat(txt_buf, "-???");
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
strcat(txt_buf, " #FFDD00 Contact me!#");
|
strcat(txt_buf, " #FFDD00 Contact me!#");
|
||||||
break;
|
break;
|
||||||
|
@ -954,7 +957,7 @@ static lv_res_t _create_window_fuses_info_status(lv_obj_t *btn)
|
||||||
strcat(txt_buf, touch_panel->vendor);
|
strcat(txt_buf, touch_panel->vendor);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
strcat(txt_buf, "Unknown #FFDD00 Contact me!#");
|
strcat(txt_buf, "#FFDD00 Error!#");
|
||||||
|
|
||||||
s_printf(txt_buf + strlen(txt_buf), "\n#FF8000 ID:# %08X (", touch_fw.fw_id);
|
s_printf(txt_buf + strlen(txt_buf), "\n#FF8000 ID:# %08X (", touch_fw.fw_id);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue