mirror of
https://github.com/CTCaer/hekate.git
synced 2024-12-22 16:12:03 +00:00
Fix minerva build
This is still for testing it out. The real usage will come later.
This commit is contained in:
parent
cae9044c17
commit
ec1bb508b3
2 changed files with 12 additions and 8 deletions
|
@ -3099,6 +3099,10 @@ void bootrom_ipatches_info()
|
|||
}
|
||||
|
||||
/*
|
||||
//TODO: Don't depend on module folder.
|
||||
#include "../modules/hekate_libsys_minerva/mtc.h"
|
||||
#include "../modules/hekate_libsys_minerva/mtc_table.h"
|
||||
|
||||
void minerva()
|
||||
{
|
||||
gfx_clear_partial_grey(&gfx_ctxt, 0x1B, 0, 1256);
|
||||
|
@ -3289,7 +3293,7 @@ ment_t ment_tools[] = {
|
|||
MDEF_HANDLER("Unset archive bit (all sd files)", fix_sd_all_attr),
|
||||
//MDEF_HANDLER("Fix fuel gauge configuration", fix_fuel_gauge_configuration),
|
||||
//MDEF_HANDLER("Reset all battery cfg", reset_pmic_fuel_gauge_charger_config),
|
||||
//MDEF_HANDLER("Minerva", minerva),
|
||||
//MDEF_HANDLER("Minerva", minerva), // Uncomment for testing Minerva Training Cell
|
||||
MDEF_CHGLINE(),
|
||||
MDEF_CAPTION("------ Dangerous -----", 0xFFFF0000),
|
||||
MDEF_HANDLER("AutoRCM", menu_autorcm),
|
||||
|
|
|
@ -3695,15 +3695,15 @@ void _minerva_get_table(mtc_config_t *mtc_cfg)
|
|||
mtc_cfg->mtc_table = (emc_table_t *)MTC_TABLE;
|
||||
|
||||
mtc_cfg->table_entries = 10;
|
||||
mtc_cfg.rate_to = 0;
|
||||
mtc_cfg.rate_from = 0;
|
||||
mtc_cfg.train_mode = 0;
|
||||
mtc_cfg.current_emc_table = NULL;
|
||||
mtc_cfg->rate_to = 0;
|
||||
mtc_cfg->rate_from = 0;
|
||||
mtc_cfg->train_mode = 0;
|
||||
mtc_cfg->current_emc_table = NULL;
|
||||
|
||||
// Important!
|
||||
mtc_cfg.emc_2X_clk_src_is_pllmb = false;
|
||||
mtc_cfg.fsp_for_src_freq = false;
|
||||
mtc_cfg.train_ram_patterns = true;
|
||||
mtc_cfg->emc_2X_clk_src_is_pllmb = false;
|
||||
mtc_cfg->fsp_for_src_freq = false;
|
||||
mtc_cfg->train_ram_patterns = true;
|
||||
}
|
||||
|
||||
void _minerva_init(mtc_config_t *mtc_cfg, void* bp)
|
||||
|
|
Loading…
Reference in a new issue