File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ impl<'a> InitDataBuilder::ver<'a> {
237237
238238 #[ allow( unused_variables) ]
239239 let base_clock_khz = self . cfg . base_clock_hz / 1000 ;
240- let clocks_per_period = pwr. pwr_sample_period_aic_clks ;
240+ let v_clocks_per_period = pwr. pwr_sample_period_aic_clks ;
241241
242242 #[ allow( unused_variables) ]
243243 let clocks_per_period_coarse = self . cfg . base_clock_hz / 1000 * pwr. power_sample_period ;
@@ -248,9 +248,9 @@ impl<'a> InitDataBuilder::ver<'a> {
248248 let cfg = & self . cfg ;
249249 let dyncfg = & self . dyncfg ;
250250 try_init ! ( raw:: HwDataA :: ver {
251- clocks_per_period: clocks_per_period ,
251+ clocks_per_period: v_clocks_per_period ,
252252 #[ ver( V >= V13_0B4 ) ]
253- clocks_per_period_2: clocks_per_period ,
253+ clocks_per_period_2: v_clocks_per_period ,
254254 pwr_status: AtomicU32 :: new( 4 ) ,
255255 unk_10: f32 !( 1.0 ) ,
256256 actual_pstate: 1 ,
You can’t perform that action at this time.
0 commit comments