From 9697560404ad32a3cffdda22db75d2313afd702c Mon Sep 17 00:00:00 2001 From: Matt Huszagh Date: Wed, 13 Jan 2021 09:08:16 -0800 Subject: [PATCH] reciprocal_pll: remove unneeded type cast --- dsp/src/reciprocal_pll.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsp/src/reciprocal_pll.rs b/dsp/src/reciprocal_pll.rs index 49a135b..eaeaac7 100644 --- a/dsp/src/reciprocal_pll.rs +++ b/dsp/src/reciprocal_pll.rs @@ -78,7 +78,7 @@ impl TimestampHandler { if self.batch_index < (1 << (32 - self.adc_sample_ticks_log2 - - self.sample_buffer_size_log2)) as u32 + - self.sample_buffer_size_log2)) - 1 { self.batch_index += 1;