Fix transposed S/T in base40 decoding

the code at mutability/dump978 posted a fix for a typo in the base 40 decode. the 'S' and 'T' letters were transposed in the reference string.

reference: 564902f53b
pull/188/head
bradanlane 2016-01-04 09:05:00 -05:00
rodzic 7d6f4eb7af
commit 21956790ba
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -267,7 +267,8 @@ static void uat_display_sv(const struct uat_adsb_mdb *mdb, FILE *to)
mdb->tisb_site_id);
}
static char base40_alphabet[40] = "0123456789ABCDEFGHIJKLMNOPQRTSUVWXYZ ..";
static char base40_alphabet[40] = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ ..";
static void uat_decode_ms(uint8_t *frame, struct uat_adsb_mdb *mdb)
{
uint16_t v;