Increase maximum TSV packet size

Due to commit 45886edc40
faup1090: write _v on every line, bump TSV_VERSION
and maybe other changes the TSV packets are bigger and some users have
reported the following error:
piaware[9040]: faup1090(27427): fatsv: output too large (max 600, overran by 20)

Fix this error by increasing TSV_MAX_PACKET_SIZE to 800
This commit is contained in:
Matthias Wirth 2019-04-08 20:03:57 +02:00
parent 883399cee3
commit b281ceee7b

View file

@ -1878,7 +1878,7 @@ __attribute__ ((format (printf,4,5))) static char *appendFATSV(char *p, char *en
return p;
}
#define TSV_MAX_PACKET_SIZE 600
#define TSV_MAX_PACKET_SIZE 800
#define TSV_VERSION "4E"
static void writeFATSVPositionUpdate(float lat, float lon, float alt)