From f75140cb483b09e7dc5f941e1acc4eade8137c0d Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sat, 31 Dec 2022 14:40:29 +0100 Subject: Remove unused DDS fields --- src/main.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main.rs b/src/main.rs index 3933ed4..0492ed1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -46,9 +46,6 @@ struct DDS { trig_table_quadrature : Vec, trig_table_inphase : Vec, - samp_rate : f32, - freq : f32, - /* instantaneous phase */ phase : u32, /* phase increment */ @@ -88,8 +85,6 @@ impl DDS { DDS { trig_table_quadrature, trig_table_inphase, - samp_rate, - freq, phase: f32::round(phase * ANG_INCR) as u32, phase_step: f32::round(phase_step) as u32, phase_delta: 0, -- cgit v1.2.3