From b281ceee7b240242dcfea8e82428729303a37e62 Mon Sep 17 00:00:00 2001 From: Matthias Wirth Date: Mon, 8 Apr 2019 20:03:57 +0200 Subject: [PATCH] Increase maximum TSV packet size Due to commit 45886edc4014f6808ad5c44f198dceabbf240b5d 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 --- net_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net_io.c b/net_io.c index 2d8c0b8..a24bfc1 100644 --- a/net_io.c +++ b/net_io.c @@ -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)