mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-28 10:46:33 +08:00
Increase mavlink stack for 64 bit targets
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
This commit is contained in:
committed by
Daniel Agar
parent
523578d2ce
commit
e49791cdf2
@@ -69,7 +69,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_NET
|
||||
#define MAVLINK_NET_ADDED_STACK 350
|
||||
#define MAVLINK_NET_ADDED_STACK PX4_STACK_ADJUSTED(350)
|
||||
#else
|
||||
#define MAVLINK_NET_ADDED_STACK 0
|
||||
#endif
|
||||
@@ -2824,7 +2824,7 @@ Mavlink::start(int argc, char *argv[])
|
||||
px4_task_spawn_cmd(buf,
|
||||
SCHED_DEFAULT,
|
||||
SCHED_PRIORITY_DEFAULT,
|
||||
2896 + MAVLINK_NET_ADDED_STACK,
|
||||
PX4_STACK_ADJUSTED(2896) + MAVLINK_NET_ADDED_STACK,
|
||||
(px4_main_t)&Mavlink::start_helper,
|
||||
(char *const *)argv);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user