AP_GPS: turn UBlox autodetection only for NavIO

This commit is contained in:
Staroselskii Georgii 2015-04-09 18:10:16 +03:00 committed by Andrew Tridgell
parent 716fd56c62
commit 4a3e61f4e4
1 changed files with 6 additions and 1 deletions

View File

@ -23,7 +23,12 @@
#include "AP_GPS_UBLOX.h"
#include <DataFlash.h>
#define UBLOX_VERSION_AUTODETECTION 1
#if CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_NAVIO
#define UBLOX_VERSION_AUTODETECTION 1
#else
#define UBLOX_VERSION_AUTODETECTION 0
#endif
#define UBLOX_DEBUGGING 0
#define UBLOX_FAKE_3DLOCK 0