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:
parent
491d71fe32
commit
01e83e231f
2 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
|
@ -109,6 +109,7 @@
|
|||
|
||||
#define BLACKBOX
|
||||
#define GPS
|
||||
#define NAV
|
||||
#define GTUNE
|
||||
#define DISPLAY
|
||||
#define SERIAL_RX
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue