kopia lustrzana https://github.com/OpenRTX/OpenRTX
M17: change decode callsign x to space
rodzic
278d7850c7
commit
f40ecc60db
|
@ -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<uint8_t*>(&encoded);
|
||||
|
|
Ładowanie…
Reference in New Issue