Fix M17 callsign decoder sometimes causing crashes

pull/187/head
Marco 2023-08-15 18:52:29 +02:00 zatwierdzone przez Silvano Seva
rodzic 9d141b8f93
commit 74f7912b4c
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -98,7 +98,8 @@ std::string M17::decode_callsign(const call_t& encodedCall)
while(encoded)
{
result[index++] = charMap[encoded % 40];
result.push_back(charMap[encoded % 40]);
index++;
encoded /= 40;
}