mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-30 18:06:39 +08:00
MAVLink app: Fix include guard to condition on NuttX when referring to NuttX
This commit is contained in:
@@ -1411,7 +1411,7 @@ Mavlink::task_main(int argc, char *argv[])
|
|||||||
_datarate = 0;
|
_datarate = 0;
|
||||||
_mode = MAVLINK_MODE_NORMAL;
|
_mode = MAVLINK_MODE_NORMAL;
|
||||||
|
|
||||||
#ifndef __PX4_POSIX
|
#ifdef __PX4_NUTTX
|
||||||
/* the NuttX optarg handler does not
|
/* the NuttX optarg handler does not
|
||||||
* ignore argv[0] like the POSIX handler
|
* ignore argv[0] like the POSIX handler
|
||||||
* does, nor does it deal with non-flag
|
* does, nor does it deal with non-flag
|
||||||
|
|||||||
Reference in New Issue
Block a user