Fix mavlink FTP list stack overflow. Fixes #2180, not flight-critical

This commit is contained in:
Lorenz Meier 2015-05-15 11:15:04 +02:00
parent fe4d2ddc40
commit 4fb91f47cd
1 changed files with 1 additions and 1 deletions

View File

@ -1581,7 +1581,7 @@ MavlinkReceiver::receive_start(Mavlink *parent)
param.sched_priority = SCHED_PRIORITY_MAX - 80;
(void)pthread_attr_setschedparam(&receiveloop_attr, &param);
pthread_attr_setstacksize(&receiveloop_attr, 1800);
pthread_attr_setstacksize(&receiveloop_attr, 2100);
pthread_t thread;
pthread_create(&thread, &receiveloop_attr, MavlinkReceiver::start_helper, (void *)parent);