lockin: fmt
This commit is contained in:
parent
36288225b3
commit
c34e330663
|
@ -129,7 +129,7 @@ const APP: () = {
|
||||||
let phase_offset: i32 = 0;
|
let phase_offset: i32 = 0;
|
||||||
let sample_frequency = ((pll_frequency >> SAMPLE_BUFFER_SIZE_LOG2)
|
let sample_frequency = ((pll_frequency >> SAMPLE_BUFFER_SIZE_LOG2)
|
||||||
as i32)
|
as i32)
|
||||||
.wrapping_mul(harmonic); // TODO: maybe rounding bias
|
.wrapping_mul(harmonic); // TODO: maybe rounding bias
|
||||||
let mut sample_phase =
|
let mut sample_phase =
|
||||||
phase_offset.wrapping_add(pll_phase.wrapping_mul(harmonic));
|
phase_offset.wrapping_add(pll_phase.wrapping_mul(harmonic));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue