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:
parent
883399cee3
commit
b281ceee7b
2
net_io.c
2
net_io.c
|
@ -1878,7 +1878,7 @@ __attribute__ ((format (printf,4,5))) static char *appendFATSV(char *p, char *en
|
||||||
return p;
|
return p;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define TSV_MAX_PACKET_SIZE 600
|
#define TSV_MAX_PACKET_SIZE 800
|
||||||
#define TSV_VERSION "4E"
|
#define TSV_VERSION "4E"
|
||||||
|
|
||||||
static void writeFATSVPositionUpdate(float lat, float lon, float alt)
|
static void writeFATSVPositionUpdate(float lat, float lon, float alt)
|
||||||
|
|
Loading…
Reference in a new issue