From 3f2260102241181fd0a76c3adc4fe6de976f2796 Mon Sep 17 00:00:00 2001 From: CTCaer Date: Wed, 12 May 2021 12:55:03 +0300 Subject: [PATCH] Bump hekate to v5.5.6 and Nyx to v1.0.3 --- Versions.inc | 4 ++-- bootloader/main.c | 2 +- nyx/nyx_gui/frontend/gui_tools.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Versions.inc b/Versions.inc index a39d5b5..b04a654 100644 --- a/Versions.inc +++ b/Versions.inc @@ -1,11 +1,11 @@ # IPL Version. BLVERSION_MAJOR := 5 BLVERSION_MINOR := 5 -BLVERSION_HOTFX := 5 +BLVERSION_HOTFX := 6 BLVERSION_RSVD := 0 # Nyx Version. NYXVERSION_MAJOR := 1 NYXVERSION_MINOR := 0 -NYXVERSION_HOTFX := 2 +NYXVERSION_HOTFX := 3 NYXVERSION_RSVD := 0 diff --git a/bootloader/main.c b/bootloader/main.c index ee868b7..a6c2a59 100644 --- a/bootloader/main.c +++ b/bootloader/main.c @@ -1514,7 +1514,7 @@ ment_t ment_top[] = { MDEF_END() }; -menu_t menu_top = { ment_top, "hekate v5.5.5", 0, 0 }; +menu_t menu_top = { ment_top, "hekate v5.5.6", 0, 0 }; extern void pivot_stack(u32 stack_top); diff --git a/nyx/nyx_gui/frontend/gui_tools.c b/nyx/nyx_gui/frontend/gui_tools.c index 0898bbc..a104d57 100644 --- a/nyx/nyx_gui/frontend/gui_tools.c +++ b/nyx/nyx_gui/frontend/gui_tools.c @@ -372,7 +372,7 @@ static lv_res_t _action_hid_touch(lv_obj_t *btn) // Reduce BPMP, RAM and backlight and power off SDMMC1 to conserve power. sd_end(); minerva_change_freq(FREQ_800); - bpmp_clk_rate_set(BPMP_CLK_NORMAL); + bpmp_freq_t prev_fid = bpmp_clk_rate_set(BPMP_CLK_NORMAL); display_backlight_brightness(10, 1000); usb_ctxt_t usbs; @@ -384,7 +384,7 @@ static lv_res_t _action_hid_touch(lv_obj_t *btn) // Restore BPMP, RAM and backlight. minerva_change_freq(FREQ_1600); - bpmp_clk_rate_set(BPMP_CLK_DEFAULT_BOOST); + bpmp_clk_rate_set(prev_fid); display_backlight_brightness(h_cfg.backlight - 20, 1000); return LV_RES_OK;