mirror of
https://github.com/CTCaer/hekate.git
synced 2025-09-11 12:05:43 +00:00
nyx: info: use renamed sd storage member
This commit is contained in:
parent
e030a4ad6d
commit
0e01a5caa9
1 changed files with 2 additions and 2 deletions
|
@ -1985,7 +1985,7 @@ static lv_res_t _create_window_sdcard_info_status(lv_obj_t *btn)
|
|||
}
|
||||
|
||||
// UHS-I max power limit is 400mA, no matter what the card says.
|
||||
u32 card_power_limit_nominal = sd_storage.card_power_limit > 400 ? 400 : sd_storage.card_power_limit;
|
||||
u32 max_power_nominal = sd_storage.max_power > 400 ? 400 : sd_storage.max_power;
|
||||
|
||||
s_printf(txt_buf + strlen(txt_buf), "(%02X)\n%c%c%c%c%c\n%c%c (%04X)\n%X\n%X\n%08x\n%02d/%04d\n\n%d mW (%d mA)\n",
|
||||
sd_storage.cid.manfid,
|
||||
|
@ -1994,7 +1994,7 @@ static lv_res_t _create_window_sdcard_info_status(lv_obj_t *btn)
|
|||
(sd_storage.cid.oemid >> 8) & 0xFF, sd_storage.cid.oemid & 0xFF, sd_storage.cid.oemid,
|
||||
sd_storage.cid.hwrev, sd_storage.cid.fwrev, sd_storage.cid.serial,
|
||||
sd_storage.cid.month, sd_storage.cid.year,
|
||||
card_power_limit_nominal * 3600 / 1000, sd_storage.card_power_limit);
|
||||
max_power_nominal * 3600 / 1000, sd_storage.max_power);
|
||||
|
||||
switch (nyx_str->info.sd_init)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue