Equalize hekate main and Nyx common functions
This commit is contained in:
@@ -252,7 +252,7 @@ static int _dump_emmc_verify(emmc_tool_gui_t *gui, sdmmc_storage_t *storage, u32
|
||||
}
|
||||
manual_system_maintenance(false);
|
||||
se_calc_sha256_finalize(hashEm, NULL);
|
||||
se_calc_sha256(hashSd, NULL, bufSd, num << 9, 0, SHA_INIT_HASH, true);
|
||||
se_calc_sha256_oneshot(hashSd, bufSd, num << 9);
|
||||
res = memcmp(hashEm, hashSd, 0x10);
|
||||
|
||||
if (res)
|
||||
|
||||
@@ -116,7 +116,7 @@ static gui_status_bar_ctx status_bar;
|
||||
static void _nyx_disp_init()
|
||||
{
|
||||
display_backlight_brightness(0, 1000);
|
||||
display_init_framebuffer_pitch();
|
||||
display_init_framebuffer_pitch_inv();
|
||||
display_init_framebuffer_log();
|
||||
display_backlight_brightness(h_cfg.backlight - 20, 1000);
|
||||
}
|
||||
|
||||
@@ -447,7 +447,7 @@ static lv_res_t _create_window_fuses_info_status(lv_obj_t *btn)
|
||||
default:
|
||||
switch (display_id & 0xFF)
|
||||
{
|
||||
case PANEL_JDI_LPM062M:
|
||||
case PANEL_JDI_XXX062M:
|
||||
s_printf(txt_buf + strlen(txt_buf), "JDI ");
|
||||
break;
|
||||
case (PANEL_INL_P062CCA_AZ1 & 0xFF):
|
||||
|
||||
Reference in New Issue
Block a user