M17: change decode callsign x to space

This commit is contained in:
marco 2023-08-20 20:50:29 +02:00 committed by Silvano Seva
parent 278d7850c7
commit f40ecc60db
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ std::string M17::decode_callsign(const call_t& encodedCall)
* Address is not broadcast, decode it. * Address is not broadcast, decode it.
* TODO: current implementation works only on little endian architectures. * TODO: current implementation works only on little endian architectures.
*/ */
static const char charMap[] = "xABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-/."; static const char charMap[] = " ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-/.";
uint64_t encoded = 0; uint64_t encoded = 0;
auto p = reinterpret_cast<uint8_t*>(&encoded); auto p = reinterpret_cast<uint8_t*>(&encoded);