mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-04 16:31:15 -05:00
Missing freq assignment
This commit is contained in:
parent
cae1855fc5
commit
5977fb144b
@ -59,7 +59,7 @@ void ScopeCanvas::OnKeyDown(wxKeyEvent& event) {
|
||||
wxGetApp().setFrequency(freq);
|
||||
break;
|
||||
case WXK_LEFT:
|
||||
wxGetApp().getFrequency();
|
||||
freq = wxGetApp().getFrequency();
|
||||
freq -= 100000;
|
||||
wxGetApp().setFrequency(freq);
|
||||
break;
|
||||
|
@ -65,7 +65,7 @@ void WaterfallCanvas::OnKeyDown(wxKeyEvent& event) {
|
||||
wxGetApp().setFrequency(freq);
|
||||
break;
|
||||
case WXK_LEFT:
|
||||
wxGetApp().getFrequency();
|
||||
freq = wxGetApp().getFrequency();
|
||||
freq -= 100000;
|
||||
wxGetApp().setFrequency(freq);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user