mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-18 20:59:05 +08:00
Simulator: Adjust way too small task stack
This commit is contained in:
parent
f815d9fa74
commit
29d33a12dc
@ -477,7 +477,7 @@ void Simulator::pollForMAVLinkMessages(bool publish, int udp_port)
|
||||
// initialize threads
|
||||
pthread_attr_t sender_thread_attr;
|
||||
pthread_attr_init(&sender_thread_attr);
|
||||
pthread_attr_setstacksize(&sender_thread_attr, 1000);
|
||||
pthread_attr_setstacksize(&sender_thread_attr, PX4_STACK_ADJUSTED(4000));
|
||||
|
||||
struct sched_param param;
|
||||
(void)pthread_attr_getschedparam(&sender_thread_attr, ¶m);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user