forked from Archive/PX4-Autopilot
MAVLink app: Fix include guard to condition on NuttX when referring to NuttX
This commit is contained in:
parent
9ef9185d1d
commit
badb22bc23
|
@ -1411,7 +1411,7 @@ Mavlink::task_main(int argc, char *argv[])
|
|||
_datarate = 0;
|
||||
_mode = MAVLINK_MODE_NORMAL;
|
||||
|
||||
#ifndef __PX4_POSIX
|
||||
#ifdef __PX4_NUTTX
|
||||
/* the NuttX optarg handler does not
|
||||
* ignore argv[0] like the POSIX handler
|
||||
* does, nor does it deal with non-flag
|
||||
|
|
Loading…
Reference in New Issue