mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-22 07:45:24 +03:00
Prepend USE_ prefix to CPP directives for enabling features
Prepended to: 'ACC', 'GYRO', 'BARO', 'MAG', 'LED_STRIP', 'SPEKTRUM_BIND', 'SERIAL_RX', 'BLACKBOX', 'GPS', 'GPS_PROTO_UBLOX', 'TELEMETRY', 'TELEMETRY_LTM', 'TELEMETRY_FRSKY', 'CMS', 'GPS_PROTO_NMEA', 'GPS_PROTO_I2C_NAV', 'GPS_PROTO_NAZA', 'GPS_PROTO_UBLOX_NEO7PLUS', 'GPS_PROTO_MTK', 'TELEMETRY_HOTT', 'TELEMETRY_IBUS', 'TELEMETRY_MAVLINK', 'TELEMETRY_SMARTPORT', 'TELEMETRY_CRSF', 'PWM_DRIVER_PCA9685', 'PITOT', 'OSD',
This commit is contained in:
parent
a5bee479be
commit
7a1491e158
124 changed files with 681 additions and 681 deletions
|
@ -2695,7 +2695,7 @@ bool navigationRTHAllowsLanding(void)
|
|||
|
||||
#else // NAV
|
||||
|
||||
#ifdef GPS
|
||||
#ifdef USE_GPS
|
||||
/* Fallback if navigation is not compiled in - handle GPS home coordinates */
|
||||
static float GPS_scaleLonDown;
|
||||
static float GPS_totalTravelDistance = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue