From 11a1fbf027cb19d9c0686fa9ca35082871148b10 Mon Sep 17 00:00:00 2001
From: Uwe Risse <dg2ycb@gmx.de>
Date: Wed, 29 May 2024 20:22:44 +0200
Subject: [PATCH] Allow SuperFox to receive Tx1 messages below 1000 Hz.

---
 lib/decoder.f90 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/decoder.f90 b/lib/decoder.f90
index 06f35209e..2b254f0f0 100644
--- a/lib/decoder.f90
+++ b/lib/decoder.f90
@@ -677,7 +677,7 @@ contains
           endif
           b1=i3-i2.eq.5 .and. isgrid4(g2)
           b2=i3-i2.eq.1
-          if(b0 .and. (b1.or.b2) .and. nint(freq).ge.1000) then
+          if(b0 .and. (b1.or.b2) .and. (nint(freq).ge.1000 .or. params%b_superfox)) then
              n=params%nutc
              n30=(3600*(n/10000) + 60*mod((n/100),100) + mod(n,100))/30
              if(n30.lt.n30z) nwrap=nwrap+5760    !New UTC day, handle the wrap