aboutsummaryrefslogtreecommitdiffstats
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/dart-70/src/state.rs11
1 files changed, 3 insertions, 8 deletions
diff --git a/sw/dart-70/src/state.rs b/sw/dart-70/src/state.rs
index 08826e7..8491cca 100644
--- a/sw/dart-70/src/state.rs
+++ b/sw/dart-70/src/state.rs
@@ -1,6 +1,5 @@
-pub const VHF_BAND_EDGE : u32 = 144_000_000;
-pub const VHF_INITIAL_VFO : u32 = 144_300_000;
-pub const VHF_LO : u32 = 114_284_800;
+pub const VHF_BAND_EDGE : u32 = 70_000_000;
+pub const VHF_INITIAL_VFO : u32 = 70_300_000;
pub const BFO_LSB : u32 = 6_000_700 + 1_100;
pub const BFO_USB : u32 = 6_000_700 - 1_100;
pub const BFO_CW : u32 = 6_000_700 - 1_100;
@@ -111,17 +110,13 @@ impl State {
}
}
- pub fn if_qrg(&self) -> u32 {
- self.vhf_qrg() - VHF_LO
- }
-
pub fn vfo(&self) -> u32 {
let cw_offset = match self.sequence_state {
SequenceState::SwitchingCW | SequenceState::TxCW => 500,
_ => 0,
};
- let vfo = (self.if_qrg() - self.bfo()) as i32 +
+ let vfo = (self.vhf_qrg() - self.bfo()) as i32 +
if self.sequence_state.apply_rit() { self.rit } else { 0 } +
cw_offset;
vfo as u32