MAVLink app: Fix include guard to condition on NuttX when referring to NuttX

This commit is contained in:
Lorenz Meier 2015-08-26 16:17:37 +02:00
parent 9ef9185d1d
commit badb22bc23
1 changed files with 1 additions and 1 deletions

View File

@ -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