Skip to content

Commit

Permalink
MAVLink shell: Do not print before creation
Browse files Browse the repository at this point in the history
The statement could end up in the pipe during creation, leading to a hard fault. Fixes #17063
  • Loading branch information
LorenzMeier committed Mar 9, 2021
1 parent 95f1477 commit 8401e0d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/modules/mavlink/mavlink_shell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,6 @@ int MavlinkShell::start()
return -1;
#endif /* __PX4_NUTTX */


PX4_INFO("Starting mavlink shell");

int p1[2], p2[2];

/* Create the shell task and redirect its stdin & stdout. If we used pthread, we would redirect
Expand Down

0 comments on commit 8401e0d

Please sign in to comment.