mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-02 22:50:34 +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:
@@ -114,8 +114,6 @@ int MavlinkShell::start()
|
||||
#ifdef __PX4_NUTTX
|
||||
sched_lock();
|
||||
#endif /* __PX4_NUTTX */
|
||||
fflush(stdout);
|
||||
fflush(stderr);
|
||||
|
||||
#ifdef __PX4_POSIX
|
||||
int remote_in_fd = dup(_shell_fds[0]); // Input file descriptor for the remote shell
|
||||
|
||||
Reference in New Issue
Block a user