mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 05:04:08 +08:00
mavlink_shell: fix stall on CubeOrange
On CubeOrange where no console is configured by default, starting MAVLink shell just stalls, and doesn't work. Also, logfile download has been reported not to work, and again, seems to work with this change. Signed-off-by: Julian Oes <julian@oes.ch>
This commit is contained in:
parent
985482badb
commit
37cb24afd8
@ -110,8 +110,6 @@ int MavlinkShell::start()
|
||||
#ifdef __PX4_NUTTX
|
||||
sched_lock();
|
||||
#endif /* __PX4_NUTTX */
|
||||
fflush(stdout);
|
||||
fflush(stderr);
|
||||
|
||||
int fd_backups[2]; //we don't touch stderr, we will redirect it to stdout in the startup of the shell task
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user