Put ais_charset in its own file to make building commb tests a little easier

This commit is contained in:
Oliver Jowett 2019-05-02 17:24:26 +08:00
parent 74d7ead41b
commit 1b5b0dfa03
6 changed files with 14 additions and 7 deletions

View file

@ -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