Skip to content

Commit c89e6fc

Browse files
authored
Correct initial value of co{all,per,gfx}
They should be 0xffffffff to reflect no user input.
1 parent f937c16 commit c89e6fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ int main(int argc, const char **argv)
196196
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;
197197
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;
198198
uint32_t skin_temp_power_limit = -1;
199-
uint32_t gfx_clk = -1, oc_clk = -1, oc_volt = -1, coall = 0, coper = 0, cogfx = 0;
199+
uint32_t gfx_clk = -1, oc_clk = -1, oc_volt = -1, coall = -1, coper = -1, cogfx = -1;
200200

201201
//create structure for parseing
202202
struct argparse_option options[] = {

0 commit comments

Comments
 (0)