mirror of
https://github.com/CTCaer/hekate.git
synced 2024-12-23 08:32:04 +00:00
nyx: info: add more cal0 info
Touch vendor, IMU type/mount and analog stick types.
This commit is contained in:
parent
5b94e8cf8a
commit
221614212a
1 changed files with 9 additions and 1 deletions
|
@ -326,8 +326,16 @@ static lv_res_t _create_mbox_cal0(lv_obj_t *btn)
|
|||
break;
|
||||
}
|
||||
|
||||
s_printf(txt_buf + strlen(txt_buf),
|
||||
" (%06X)\n#FF8000 Touch Vendor:# %d\n"
|
||||
"#FF8000 IMU Type/Mount:# %d / %d\n"
|
||||
"#FF8000 Stick L/R Type:# %02X / %02X\n",
|
||||
cal0->lcd_vendor, cal0->touch_ic_vendor_id,
|
||||
cal0->console_6axis_sensor_type, cal0->console_6axis_sensor_mount_type,
|
||||
cal0->analog_stick_type_l, cal0->analog_stick_type_r);
|
||||
|
||||
bool valid_cal0 = !memcmp(hash, cal0->body_sha256, 0x20);
|
||||
s_printf(txt_buf + strlen(txt_buf), " (%06X)\n#FF8000 SHA256 Hash Match:# %s", cal0->lcd_vendor, valid_cal0 ? "Pass" : "Failed");
|
||||
s_printf(txt_buf + strlen(txt_buf), "#FF8000 SHA256 Hash Match:# %s", valid_cal0 ? "Pass" : "Failed");
|
||||
|
||||
lv_label_set_text(lb_desc, txt_buf);
|
||||
|
||||
|
|
Loading…
Reference in a new issue