aboutsummaryrefslogtreecommitdiffstats
path: root/sw/dart-70/src/state.rs
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2023-03-28 09:23:31 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2023-03-28 09:23:31 +0200
commite9b8baa990126100dca96900fad5e08d4dc14609 (patch)
tree84194861f9c8f48ce404358415cafe40449f3e95 /sw/dart-70/src/state.rs
parent59366778836025e89550a1d641c8bd613dccaffb (diff)
downloadpicardy-e9b8baa990126100dca96900fad5e08d4dc14609.tar.gz
picardy-e9b8baa990126100dca96900fad5e08d4dc14609.tar.bz2
picardy-e9b8baa990126100dca96900fad5e08d4dc14609.zip
Update sw xtal freq
Diffstat (limited to 'sw/dart-70/src/state.rs')
-rw-r--r--sw/dart-70/src/state.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/sw/dart-70/src/state.rs b/sw/dart-70/src/state.rs
index 8491cca..87f3bc2 100644
--- a/sw/dart-70/src/state.rs
+++ b/sw/dart-70/src/state.rs
@@ -1,8 +1,9 @@
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;
+pub const XTAL_FILT_FREQ : u32 = 11_059_200;
+pub const BFO_LSB : u32 = XTAL_FILT_FREQ + 1_100;
+pub const BFO_USB : u32 = XTAL_FILT_FREQ - 1_100;
+pub const BFO_CW : u32 = XTAL_FILT_FREQ - 1_100;
// Defines which parameter is changed by the encoder
#[derive(Clone, Copy, PartialEq, Eq)]