dsp: fix small comment grammar error

This commit is contained in:
Matt Huszagh 2020-11-30 12:34:20 -08:00
parent 0cca4589fd
commit 55e7f1f0db
1 changed files with 2 additions and 2 deletions

View File

@ -210,8 +210,8 @@ impl Lockin {
-1 -1
}; };
// closest timestamp that occurred before to the // closest timestamp that occurred before the current
// current ADC sample // ADC sample
let closest_timestamp_before: i32; let closest_timestamp_before: i32;
let reference_period = if closest_timestamp_after_index < 0 { let reference_period = if closest_timestamp_after_index < 0 {
closest_timestamp_before = self.timestamps[0].unwrap(); closest_timestamp_before = self.timestamps[0].unwrap();