This commit is contained in:
2026-04-24 18:54:27 +02:00
parent c84018fbeb
commit 319670a013
3 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -166,7 +166,7 @@ func (a *App) updateTracking() {
// Doppler: only when globally enabled AND tracking enabled for this sat AND el >= 0
if a.activeRadio().IsConnected() && pos.Elevation >= 0 && a.dopplerEnabled && a.trackFreqMode {
upFreq, downFreq := a.dopplerCalc.Correct(pos, obs, now)
downFreq, upFreq := a.dopplerCalc.Correct(pos, obs, now)
if err := a.activeRadio().SetFrequency(downFreq, upFreq); err != nil {
log.Printf("[Doppler] SetFrequency error: %v", err)
}