From 07df1be8418538e9f5af12fd6f7be46328db4772 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Sun, 22 Nov 2015 12:25:01 +0100 Subject: [PATCH] Simulator buffer: Ensure we do not become limited on message size --- src/modules/simulator/simulator_mavlink.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/simulator/simulator_mavlink.cpp b/src/modules/simulator/simulator_mavlink.cpp index 2a6efc7fa7..e712e65be0 100644 --- a/src/modules/simulator/simulator_mavlink.cpp +++ b/src/modules/simulator/simulator_mavlink.cpp @@ -65,7 +65,7 @@ static const float mg2ms2 = CONSTANTS_ONE_G / 1000.0f; static int openUart(const char *uart_name, int baud); static int _fd; -static unsigned char _buf[200]; +static unsigned char _buf[1024]; sockaddr_in _srcaddr; static socklen_t _addrlen = sizeof(_srcaddr);