nyx: add reminder that reload also checks for update.bin

This commit is contained in:
CTCaer 2021-09-17 23:34:16 +03:00
parent 768b3ba2d9
commit d61be73bca
4 changed files with 7 additions and 6 deletions

View file

@ -850,9 +850,9 @@ static void _auto_launch_firmware()
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.
* 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)
h_cfg.bootwait = 3;

View file

@ -10,7 +10,7 @@
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*/
#ifndef __TEGRA210B01_SDRAM_PARAM_H__
#define __TEGRA210B01_SDRAM_PARAM_H__
@ -227,7 +227,6 @@ struct sdram_params_t210b01
u32 emc_r2p;
/* Specifies the value for EMC_W2P */
u32 emc_w2p;
/* Specifies the value for EMC_RD_RCD */
u32 emc_tppd;
u32 emc_trtm;
@ -237,6 +236,7 @@ struct sdram_params_t210b01
u32 emc_tr2ref;
u32 emc_ccdmw;
/* Specifies the value for EMC_RD_RCD */
u32 emc_rd_rcd;
/* Specifies the value for EMC_WR_RCD */
u32 emc_wr_rcd;

View file

@ -106,7 +106,7 @@ int create_config_entry()
itoa(h_cfg.autoboot_list, lbuf, 10);
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.
* For example dock-only use and r2p with enough time to reach dock and cancel it.
*/

View file

@ -987,7 +987,8 @@ static lv_res_t _create_mbox_reload(lv_obj_t *btn)
lv_mbox_set_recolor_text(mbox, true);
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);