projects
/
pihpsdr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb54deb
)
bug fix for ctun scroll
author
Ramakrishnan Muthukrishnan
<ram@leastauthority.com>
Sun, 31 Dec 2023 12:08:04 +0000
(17:38 +0530)
committer
Ramakrishnan Muthukrishnan
<ram@leastauthority.com>
Sun, 31 Dec 2023 12:08:04 +0000
(17:38 +0530)
TODO: define some offset from edge and scroll within those edge bands
vfo.c
patch
|
blob
|
history
diff --git
a/vfo.c
b/vfo.c
index 460074060b06fca76d4fe14ca71c664ede623c16..5174e0346a7d959b9510a3041c6664019b02300a 100644
(file)
--- a/
vfo.c
+++ b/
vfo.c
@@
-751,7
+751,7
@@
void vfo_id_move(int id, long long hz, int round) {
} else if (rx_high >= max_freq) {
// XXX: move the background
long long delta_move = rx_high - max_freq;
- vfo[id].frequency = vfo[id].frequency + hz
-
delta_move;
+ vfo[id].frequency = vfo[id].frequency + hz
+
delta_move;
vfo[id].ctun_frequency = vfo[id].ctun_frequency + hz;
receiver_frequency_changed(receiver[id]);
g_idle_add(ext_vfo_update, NULL);