From c34e33066376a9904130dcebfb3748d3bffcb82b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20J=C3=B6rdens?= Date: Thu, 28 Jan 2021 23:00:55 +0100 Subject: [PATCH] lockin: fmt --- src/bin/lockin.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/lockin.rs b/src/bin/lockin.rs index cbdda51..1519853 100644 --- a/src/bin/lockin.rs +++ b/src/bin/lockin.rs @@ -129,7 +129,7 @@ const APP: () = { let phase_offset: i32 = 0; let sample_frequency = ((pll_frequency >> SAMPLE_BUFFER_SIZE_LOG2) as i32) - .wrapping_mul(harmonic); // TODO: maybe rounding bias + .wrapping_mul(harmonic); // TODO: maybe rounding bias let mut sample_phase = phase_offset.wrapping_add(pll_phase.wrapping_mul(harmonic));