aboutsummaryrefslogtreecommitdiffstats
path: root/sw/eval-clock-cw-tx/src/ui.rs
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2021-03-29 22:46:08 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2021-03-29 22:46:08 +0200
commitb2b6ac9eea2eb5066942237bfced3f7f8b48c43c (patch)
tree79b27f2285ccc8e891bf628aa4bd43fc366c4b23 /sw/eval-clock-cw-tx/src/ui.rs
parent2071c8485241e0b95de891e8855542d7c51915ab (diff)
downloadpicardy-b2b6ac9eea2eb5066942237bfced3f7f8b48c43c.tar.gz
picardy-b2b6ac9eea2eb5066942237bfced3f7f8b48c43c.tar.bz2
picardy-b2b6ac9eea2eb5066942237bfced3f7f8b48c43c.zip
Work on eval-clock-cw-tx sequencing
Diffstat (limited to 'sw/eval-clock-cw-tx/src/ui.rs')
-rw-r--r--sw/eval-clock-cw-tx/src/ui.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/eval-clock-cw-tx/src/ui.rs b/sw/eval-clock-cw-tx/src/ui.rs
index 564b7d1..3cc8c90 100644
--- a/sw/eval-clock-cw-tx/src/ui.rs
+++ b/sw/eval-clock-cw-tx/src/ui.rs
@@ -239,7 +239,7 @@ pub fn update_disp<T: hd44780_driver::bus::DataBus>(lcd: &mut HD44780<T>, state:
{
let mut string = arrayvec::ArrayString::<[_; 16]>::new();
- let disp_freq = state.vfo() as i32;
+ let disp_freq = state.vfo_display() as i32;
write!(string, "{:<05}.{:<03} ", disp_freq / 1000, disp_freq % 1000).unwrap();
write!(string, " CW{:<02}", state.cw_wpm).unwrap();