1
0
mirror of https://github.com/CTCaer/hekate.git synced 2024-11-02 11:30:41 +00:00

config: set default auto hos power off to enabled for T210B01

For new users, set Auto HOS Power Off feature to enabled if T210B01 based SoC.
This commit is contained in:
CTCaer 2022-10-11 07:51:45 +03:00
parent 414721a1ff
commit 31c8292f23
2 changed files with 6 additions and 4 deletions

View File

@ -27,12 +27,14 @@ extern hekate_config h_cfg;
void set_default_configuration()
{
h_cfg.t210b01 = hw_get_chip_id() == GP_HIDREV_MAJOR_T210B01;
h_cfg.autoboot = 0;
h_cfg.autoboot_list = 0;
h_cfg.bootwait = 3;
h_cfg.noticker = 0; //! TODO: Add GUI option.
h_cfg.backlight = 100;
h_cfg.autohosoff = 0;
h_cfg.autohosoff = h_cfg.t210b01 ? 1 : 0;
h_cfg.autonogc = 1;
h_cfg.updater2p = 0;
h_cfg.bootprotect = 0;
@ -41,7 +43,6 @@ void set_default_configuration()
h_cfg.eks = NULL;
h_cfg.rcm_patched = fuse_check_patched_rcm();
h_cfg.emummc_force_disable = false;
h_cfg.t210b01 = hw_get_chip_id() == GP_HIDREV_MAJOR_T210B01;
}
int create_config_entry()

View File

@ -27,12 +27,14 @@ extern nyx_config n_cfg;
void set_default_configuration()
{
h_cfg.t210b01 = hw_get_chip_id() == GP_HIDREV_MAJOR_T210B01;
h_cfg.autoboot = 0;
h_cfg.autoboot_list = 0;
h_cfg.bootwait = 3;
h_cfg.noticker = 0;
h_cfg.backlight = 100;
h_cfg.autohosoff = 0;
h_cfg.autohosoff = h_cfg.t210b01 ? 1 : 0;
h_cfg.autonogc = 1;
h_cfg.updater2p = 0;
h_cfg.bootprotect = 0;
@ -41,7 +43,6 @@ void set_default_configuration()
h_cfg.eks = NULL;
h_cfg.rcm_patched = fuse_check_patched_rcm();
h_cfg.emummc_force_disable = false;
h_cfg.t210b01 = hw_get_chip_id() == GP_HIDREV_MAJOR_T210B01;
sd_power_cycle_time_start = 0;
}