projects
/
pihpsdr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03775fd
)
reset CTUN offset correctly when changing bands
author
c vw
<dl1ycf@darc.de>
Mon, 2 Mar 2020 10:20:20 +0000
(11:20 +0100)
committer
c vw
<dl1ycf@darc.de>
Mon, 2 Mar 2020 10:20:20 +0000
(11:20 +0100)
vfo.c
patch
|
blob
|
history
diff --git
a/vfo.c
b/vfo.c
index 9c41bdb1bf03eaa301cfe17e12fe020774177177..cfb6b38fb9f5fe2d8bbe7b7017b3b84fe1281858 100644
(file)
--- a/
vfo.c
+++ b/
vfo.c
@@
-291,6
+291,8
@@
void vfo_band_changed(int b) {
// turn off ctun
vfo[id].ctun=0;
vfo[id].offset=0;
+ // tell WDSP about the offset
+ set_offset(active_receiver, vfo[i].offset);
switch(id) {
case 0: