lockin: fmt

This commit is contained in:
Robert Jördens 2021-01-28 23:00:55 +01:00
parent 36288225b3
commit c34e330663

View File

@ -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));