From f40ecc60db0e507dad8fb593a26010233d4976f7 Mon Sep 17 00:00:00 2001 From: marco <49691247+marcoSchr@users.noreply.github.com> Date: Sun, 20 Aug 2023 20:50:29 +0200 Subject: [PATCH] M17: change decode callsign x to space --- openrtx/src/protocols/M17/M17Callsign.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openrtx/src/protocols/M17/M17Callsign.cpp b/openrtx/src/protocols/M17/M17Callsign.cpp index eeb91b02..d636b314 100644 --- a/openrtx/src/protocols/M17/M17Callsign.cpp +++ b/openrtx/src/protocols/M17/M17Callsign.cpp @@ -86,7 +86,7 @@ std::string M17::decode_callsign(const call_t& encodedCall) * Address is not broadcast, decode it. * TODO: current implementation works only on little endian architectures. */ - static const char charMap[] = "xABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-/."; + static const char charMap[] = " ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-/."; uint64_t encoded = 0; auto p = reinterpret_cast(&encoded);