mirror of
https://github.com/CTCaer/hekate
synced 2024-12-22 11:21:23 +00:00
nyx: add reminder that reload also checks for update.bin
This commit is contained in:
parent
768b3ba2d9
commit
d61be73bca
4 changed files with 7 additions and 6 deletions
|
@ -850,9 +850,9 @@ static void _auto_launch_firmware()
|
||||||
h_cfg.bootwait = atoi(kv->val);
|
h_cfg.bootwait = atoi(kv->val);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Clamp value to default if it exceeds 20s.
|
* Clamp value to default if it exceeds 20s to protect against corruption.
|
||||||
* Allow up to 20s though for use in cases where user needs lots of time.
|
* Allow up to 20s though for use in cases where user needs lots of time.
|
||||||
* For example dock-only use and r2p with enough time to rach dock and cancel it.
|
* For example dock-only use and r2p with enough time to reach dock and cancel it.
|
||||||
*/
|
*/
|
||||||
if (h_cfg.bootwait > 20)
|
if (h_cfg.bootwait > 20)
|
||||||
h_cfg.bootwait = 3;
|
h_cfg.bootwait = 3;
|
||||||
|
|
|
@ -227,7 +227,6 @@ struct sdram_params_t210b01
|
||||||
u32 emc_r2p;
|
u32 emc_r2p;
|
||||||
/* Specifies the value for EMC_W2P */
|
/* Specifies the value for EMC_W2P */
|
||||||
u32 emc_w2p;
|
u32 emc_w2p;
|
||||||
/* Specifies the value for EMC_RD_RCD */
|
|
||||||
|
|
||||||
u32 emc_tppd;
|
u32 emc_tppd;
|
||||||
u32 emc_trtm;
|
u32 emc_trtm;
|
||||||
|
@ -237,6 +236,7 @@ struct sdram_params_t210b01
|
||||||
u32 emc_tr2ref;
|
u32 emc_tr2ref;
|
||||||
u32 emc_ccdmw;
|
u32 emc_ccdmw;
|
||||||
|
|
||||||
|
/* Specifies the value for EMC_RD_RCD */
|
||||||
u32 emc_rd_rcd;
|
u32 emc_rd_rcd;
|
||||||
/* Specifies the value for EMC_WR_RCD */
|
/* Specifies the value for EMC_WR_RCD */
|
||||||
u32 emc_wr_rcd;
|
u32 emc_wr_rcd;
|
||||||
|
|
|
@ -106,7 +106,7 @@ int create_config_entry()
|
||||||
itoa(h_cfg.autoboot_list, lbuf, 10);
|
itoa(h_cfg.autoboot_list, lbuf, 10);
|
||||||
f_puts(lbuf, &fp);
|
f_puts(lbuf, &fp);
|
||||||
/*
|
/*
|
||||||
* Clamp value to default if it exceeds 20s.
|
* Clamp value to default if it exceeds 20s to protect against corruption.
|
||||||
* Allow up to 20s though for use in cases where user needs lots of time.
|
* Allow up to 20s though for use in cases where user needs lots of time.
|
||||||
* For example dock-only use and r2p with enough time to reach dock and cancel it.
|
* For example dock-only use and r2p with enough time to reach dock and cancel it.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -987,7 +987,8 @@ static lv_res_t _create_mbox_reload(lv_obj_t *btn)
|
||||||
lv_mbox_set_recolor_text(mbox, true);
|
lv_mbox_set_recolor_text(mbox, true);
|
||||||
lv_obj_set_width(mbox, LV_HOR_RES * 4 / 10);
|
lv_obj_set_width(mbox, LV_HOR_RES * 4 / 10);
|
||||||
|
|
||||||
lv_mbox_set_text(mbox, "#FF8000 Do you really want#\n#FF8000 to reload hekate?#");
|
lv_mbox_set_text(mbox, "#FF8000 Do you really want#\n#FF8000 to reload hekate & Nyx?#\n\n"
|
||||||
|
"This also checks\n#96FF00 bootloader/update.bin#\nfor hekate updates");
|
||||||
|
|
||||||
lv_mbox_add_btns(mbox, mbox_btn_map, reload_action);
|
lv_mbox_add_btns(mbox, mbox_btn_map, reload_action);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue