mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 06:23:34 +08:00
gps: fix build, unused var ERROR
This commit is contained in:
@@ -77,12 +77,6 @@
|
|||||||
#define TIMEOUT_5HZ 500
|
#define TIMEOUT_5HZ 500
|
||||||
#define RATE_MEASUREMENT_PERIOD 5000000
|
#define RATE_MEASUREMENT_PERIOD 5000000
|
||||||
|
|
||||||
/* oddly, ERROR is not defined for c++ */
|
|
||||||
#ifdef ERROR
|
|
||||||
# undef ERROR
|
|
||||||
#endif
|
|
||||||
static const int ERROR = -1;
|
|
||||||
|
|
||||||
|
|
||||||
/* class for dynamic allocation of satellite info data */
|
/* class for dynamic allocation of satellite info data */
|
||||||
class GPS_Sat_Info
|
class GPS_Sat_Info
|
||||||
|
|||||||
Reference in New Issue
Block a user