aboutsummaryrefslogtreecommitdiffstats
path: root/sw/dart-70/src/state.rs
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2023-04-03 07:45:13 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2023-04-03 07:45:13 +0200
commit56baecd6a7536004c00638b89f2f86a17abdf5c9 (patch)
treed45f11527299c22567080d728a7efafdfc849ec1 /sw/dart-70/src/state.rs
parentd1533658df543735e17b546dd8311063b1fdfd0a (diff)
downloadpicardy-56baecd6a7536004c00638b89f2f86a17abdf5c9.tar.gz
picardy-56baecd6a7536004c00638b89f2f86a17abdf5c9.tar.bz2
picardy-56baecd6a7536004c00638b89f2f86a17abdf5c9.zip
Continue DART assembly nad fix some issues
Diffstat (limited to 'sw/dart-70/src/state.rs')
-rw-r--r--sw/dart-70/src/state.rs9
1 files changed, 5 insertions, 4 deletions
diff --git a/sw/dart-70/src/state.rs b/sw/dart-70/src/state.rs
index 87f3bc2..38db150 100644
--- a/sw/dart-70/src/state.rs
+++ b/sw/dart-70/src/state.rs
@@ -1,9 +1,10 @@
pub const VHF_BAND_EDGE : u32 = 70_000_000;
pub const VHF_INITIAL_VFO : u32 = 70_300_000;
-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;
+// Values below are measured with the assembled XTAL filter
+pub const XTAL_FILT_FREQ : u32 = 11_057_510;
+pub const BFO_LSB : u32 = XTAL_FILT_FREQ + 1_400;
+pub const BFO_USB : u32 = XTAL_FILT_FREQ - 1_400;
+pub const BFO_CW : u32 = XTAL_FILT_FREQ - 1_400;
// Defines which parameter is changed by the encoder
#[derive(Clone, Copy, PartialEq, Eq)]