From c89e6fcebb015c83317899f6432ae9cb5226b202 Mon Sep 17 00:00:00 2001 From: Jiaxun Yang Date: Sun, 7 Aug 2022 12:32:49 +0100 Subject: [PATCH] Correct initial value of co{all,per,gfx} They should be 0xffffffff to reflect no user input. --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 10ee19dd..25f48348 100644 --- a/main.c +++ b/main.c @@ -196,7 +196,7 @@ int main(int argc, const char **argv) uint32_t max_socclk_freq = -1, min_socclk_freq = -1, max_fclk_freq = -1, min_fclk_freq = -1, max_vcn = -1, min_vcn = -1, max_lclk = -1, min_lclk = -1; uint32_t max_gfxclk_freq = -1, min_gfxclk_freq = -1, prochot_deassertion_ramp = -1, apu_skin_temp_limit = -1, dgpu_skin_temp_limit = -1, apu_slow_limit = -1; uint32_t skin_temp_power_limit = -1; - uint32_t gfx_clk = -1, oc_clk = -1, oc_volt = -1, coall = 0, coper = 0, cogfx = 0; + uint32_t gfx_clk = -1, oc_clk = -1, oc_volt = -1, coall = -1, coper = -1, cogfx = -1; //create structure for parseing struct argparse_option options[] = {