1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-24 16:55:29 +03:00

SPARKY: Enable NAV for the target. Fix display.c compilation bug when NAV is not defined. Closes #72

This commit is contained in:
Konstantin Sharlaimov (DigitalEntity) 2016-01-18 10:37:04 +10:00
parent 491d71fe32
commit 01e83e231f
2 changed files with 3 additions and 0 deletions

View file

@ -225,9 +225,11 @@ void updateFailsafeStatus(void)
case FAILSAFE_RX_LOSS_DETECTED:
failsafeIndicator = 'R';
break;
#ifdef NAV
case FAILSAFE_RETURN_TO_HOME:
failsafeIndicator = 'H';
break;
#endif
case FAILSAFE_LANDING:
failsafeIndicator = 'l';
break;

View file

@ -109,6 +109,7 @@
#define BLACKBOX
#define GPS
#define NAV
#define GTUNE
#define DISPLAY
#define SERIAL_RX