Skip to content

Commit

Permalink
mavlink_shell: fix stall on CubeOrange
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
julianoes authored and dagar committed Jan 5, 2023
1 parent 985482b commit 37cb24a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/modules/mavlink/mavlink_shell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 37cb24a

Please sign in to comment.