forked from Archive/PX4-Autopilot
Fix mavlink FTP list stack overflow. Fixes #2180, not flight-critical
This commit is contained in:
parent
fe4d2ddc40
commit
4fb91f47cd
|
@ -1581,7 +1581,7 @@ MavlinkReceiver::receive_start(Mavlink *parent)
|
|||
param.sched_priority = SCHED_PRIORITY_MAX - 80;
|
||||
(void)pthread_attr_setschedparam(&receiveloop_attr, ¶m);
|
||||
|
||||
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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue