aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main.rs5
1 files changed, 0 insertions, 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<i16>,
trig_table_inphase : Vec<i16>,
- 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,