From b6c9ed20570ddf6d511ef2cc1f492b4bfea9d951 Mon Sep 17 00:00:00 2001 From: Robin Getz Date: Sun, 26 Jul 2026 16:46:11 -0400 Subject: [PATCH] chirpchat: Fix FT8 message type 0.4 reply detection Fix a copy/paste error in decodeSymbols() where FT8 message type 0.3 was checked twice, preventing type 0.4 messages from being recognized as replies. FT8::Packing supports both 0.3 and 0.4 message types using the same reply bit location. Detected by cppcheck as a redundant condition. Signed-off-by: Robin Getz --- plugins/channelrx/demodchirpchat/chirpchatdemoddecoderft.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/channelrx/demodchirpchat/chirpchatdemoddecoderft.cpp b/plugins/channelrx/demodchirpchat/chirpchatdemoddecoderft.cpp index 3d1a31154..ac5f57c96 100644 --- a/plugins/channelrx/demodchirpchat/chirpchatdemoddecoderft.cpp +++ b/plugins/channelrx/demodchirpchat/chirpchatdemoddecoderft.cpp @@ -115,7 +115,7 @@ void ChirpChatDemodDecoderFT::decodeSymbols( msg = packing.unpack(r174, call1, call2, loc, msgType); reply = false; - if ((msgType == "0.3") || (msgType == "0.3")) { + if ((msgType == "0.3") || (msgType == "0.4")) { reply = r174[56] != 0; } if ((msgType == "1") || (msgType == "2")) {