1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-29 05:24:18 -04:00

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 <rgetz503@gmail.com>
This commit is contained in:
Robin Getz
2026-07-26 16:46:11 -04:00
parent b1e685b71c
commit b6c9ed2057
@@ -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")) {