diff options
| author | Dave Hibberd <hibby@debian.org> | 2026-10-20 22:35:06 +0100 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2026-10-20 22:35:06 +0100 |
| commit | 82ebb1ed1af30cee4dfbb1c628431d32885a00e0 (patch) | |
| tree | 1a1f782d3e576b758be0bc61171574a7cd8f2376 /widgets/astro.cpp | |
| parent | 061658210acb6425517733ea012dda803a7f72a1 (diff) | |
| parent | 61d684922b0f1c8455cc60eb3d123df058c9e1f5 (diff) | |
Merge tag 'debian/3.3.0_beta2+dfsg-1' into hibbian/trixie-backports
tagging wsjtx 3.3.0~beta2+dfsg-1
Diffstat (limited to 'widgets/astro.cpp')
| -rw-r--r-- | widgets/astro.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/widgets/astro.cpp b/widgets/astro.cpp index dcdbac44..a6813f8d 100644 --- a/widgets/astro.cpp +++ b/widgets/astro.cpp @@ -22,7 +22,8 @@ extern "C" { void astrosub(int nyear, int month, int nday, double uth, double freqMoon, - const char * mygrid, const char * hisgrid, + const char * mygrid, const char * hisgrid, bool use_home_coordinates, + double home_latitude, double home_longitude, double * azsun, double * elsun, double * azmoon, double * elmoon, double * azmoondx, double * elmoondx, int * ntsky, int * ndop, int * ndop00, double * ramoon, double * decmoon, double * dgrd, @@ -108,7 +109,8 @@ void Astro::write_settings () settings_->setValue ("LockSkedFreq",ui_->cbLockSkedFreq->isChecked()); } -auto Astro::astroUpdate(QDateTime const& t, QString const& mygrid, QString const& hisgrid, Frequency freq, +auto Astro::astroUpdate(QDateTime const& t, QString const& mygrid, QString const& hisgrid, + bool use_home_coordinates, double home_latitude, double home_longitude, Frequency freq, bool bEchoMode, bool bTx, bool bAuto, bool no_tx_QSY, double TR_period) -> Correction { Frequency freq_moon {freq}; @@ -133,7 +135,7 @@ auto Astro::astroUpdate(QDateTime const& t, QString const& mygrid, QString const // changed argument from &dgrd to &m_dgrd added for Bob KA1GT astrosub(nyear, month, nday, uth, static_cast<double> (freq_moon), mygrid.toLatin1 ().data (), - hisgrid.toLatin1().data(), + hisgrid.toLatin1().data(), use_home_coordinates, home_latitude, home_longitude, &azsun, &elsun, &azmoon, &elmoon, &azmoondx, &elmoondx, &ntsky, &m_dop, &m_dop00, &ramoon, &decmoon, &m_dgrd, &poloffset, &xnr, extraazel, &techo, &width1, &width2, @@ -308,7 +310,7 @@ auto Astro::astroUpdate(QDateTime const& t, QString const& mygrid, QString const double uth {nhr + nmin/60.0 + sec/3600.0}; astrosub(nyear, month, nday, uth, static_cast<double> (freq_moon), mygrid.toLatin1 ().data (), - hisgrid.toLatin1().data(), + hisgrid.toLatin1().data(), use_home_coordinates, home_latitude, home_longitude, &azsun, &elsun, &azmoon, &elmoon, &azmoondx, &elmoondx, &ntsky, &m_dop, &m_dop00, &ramoon, &decmoon, &dgrd, &poloffset, &xnr, extraazel, &techo, &width1, &width2, |
