Put ais_charset in its own file to make building commb tests a little easier
This commit is contained in:
parent
74d7ead41b
commit
1b5b0dfa03
6 changed files with 14 additions and 7 deletions
3
mode_s.c
3
mode_s.c
|
|
@ -49,6 +49,7 @@
|
|||
|
||||
|
||||
#include "dump1090.h"
|
||||
#include "ais_charset.h"
|
||||
|
||||
/* for PRIX64 */
|
||||
#include <inttypes.h>
|
||||
|
|
@ -382,8 +383,6 @@ int scoreModesMessage(unsigned char *msg, int validbits)
|
|||
|
||||
static void decodeExtendedSquitter(struct modesMessage *mm);
|
||||
|
||||
char ais_charset[64] = "@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_ !\"#$%&'()*+,-./0123456789:;<=>?";
|
||||
|
||||
// return 0 if all OK
|
||||
// -1: message might be valid, but we couldn't validate the CRC against a known ICAO
|
||||
// -2: bad message or unrepairable CRC error
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue