From 9d89042d4433429d93fef64c8868771474d9f1d1 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Tue, 13 Dec 2022 12:58:15 -0500 Subject: [PATCH] Remove another instance of the 1.27 kHz offset. --- q65w/plotter.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/q65w/plotter.cpp b/q65w/plotter.cpp index ab53a4efb..c43ffb768 100644 --- a/q65w/plotter.cpp +++ b/q65w/plotter.cpp @@ -102,8 +102,7 @@ void CPlotter::paintEvent(QPaintEvent *) // paintEvent() painter.drawPixmap(target,m_ZoomScalePixmap,source); float df=m_fSample/32768.0; - int x0=16384 + (0.001*(m_ZoomStartFreq+m_fCal)+m_fQSO-m_nkhz+1.27046) * \ - 1000.0/df + 0.5; + int x0=16384 + (0.001*(m_ZoomStartFreq+m_fCal)+m_fQSO-m_nkhz) * 1000.0/df + 0.5; QPainter painter1(&m_WaterfallPixmap); QPainter painter2(&m_ZoomWaterfallPixmap);