freebsd-ports/comms/wsjtx/files/patch-Configuration.cpp
Diane Bruce 14c69a0df0 The WSJT Development Group is pleased to announce the full General
Availability release of WSJT-X Version 1.8.0.

Changes since "Release Candidate 3" (wsjtx-1.8.0-rc3) are very minor; they are
described in the Release Notes posted here:
http://physics.princeton.edu/pulsar/k1jt/Release_Notes_1.8.0.txt

Installation packages for Windows, Linux, Macintosh, and Raspian Jessie
have been posted on the WSJT web site here:
http://physics.princeton.edu/pulsar/k1jt/wsjtx.html

You can also download the packages from our SourceForge site:
https://sourceforge.net/projects/wsjt/files/wsjtx-1.8.0-rc3/
(It may take a short time for the SourceForge site to be updated.)

If you are upgrading from -rc1, you will need to do a one-time reset of
the default list of suggested operating frequencies.  Go to
*File->Settings->Frequencies*, right click on the table and select *Reset*.

We hope you will enjoy using WSJT-X Version 1.8.0.

     -- 73, Joe, K1JT, for the WSJT Development Group
2017-10-29 14:54:07 +00:00

19 lines
735 B
C++

--- Configuration.cpp.orig 2017-10-19 22:13:43 UTC
+++ Configuration.cpp
@@ -2681,14 +2681,14 @@ void Configuration::impl::fill_port_comb
auto Configuration::impl::apply_calibration (Frequency f) const -> Frequency
{
if (frequency_calibration_disabled_) return f;
- return std::llround (calibration_.intercept
+ return llround (calibration_.intercept
+ (1. + calibration_.slope_ppm / 1.e6) * f);
}
auto Configuration::impl::remove_calibration (Frequency f) const -> Frequency
{
if (frequency_calibration_disabled_) return f;
- return std::llround ((f - calibration_.intercept)
+ return llround ((f - calibration_.intercept)
/ (1. + calibration_.slope_ppm / 1.e6));
}