aboutsummaryrefslogtreecommitdiffstats
path: root/sw/eval-clock-cw-tx/src/main.rs
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2023-03-19 21:21:41 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2023-03-19 21:21:41 +0100
commitd74ecf74a6026d43d2dfe611df14c19833e6cc83 (patch)
treed98d024db7718b84172678dd528b2d09ae56e04f /sw/eval-clock-cw-tx/src/main.rs
parente04fec33f079db4c5d42aa412f7b670784ec1b68 (diff)
downloadpicardy-d74ecf74a6026d43d2dfe611df14c19833e6cc83.tar.gz
picardy-d74ecf74a6026d43d2dfe611df14c19833e6cc83.tar.bz2
picardy-d74ecf74a6026d43d2dfe611df14c19833e6cc83.zip
Fix WSPR transmitter, support centihz freq
Diffstat (limited to 'sw/eval-clock-cw-tx/src/main.rs')
-rw-r--r--sw/eval-clock-cw-tx/src/main.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/sw/eval-clock-cw-tx/src/main.rs b/sw/eval-clock-cw-tx/src/main.rs
index 52193b4..c303416 100644
--- a/sw/eval-clock-cw-tx/src/main.rs
+++ b/sw/eval-clock-cw-tx/src/main.rs
@@ -273,6 +273,11 @@ fn main() -> ! {
}
},
Mode::WSPR => {
+ if let Some(f) = usb.take_frequency() {
+ shared.state.set_vfo(f);
+ update_siclock_required = true;
+ }
+
if shared.state.wspr_freq_offset_updated {
update_siclock_required = true;
}