mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-22 15:55:40 +03:00
Rename a few more flags
NAV -> USE_NAV FIXED_WING_LANDING -> NAV_FIXED_WING_LANDING ASYNC_GYRO_PROCESSING -> USE_ASYNC_GYRO_PROCESSING BOOTLOG -> USE_BOOTLOG STATS -> USE_STATS
This commit is contained in:
parent
7a1491e158
commit
d5ba9c4eec
38 changed files with 112 additions and 112 deletions
|
@ -36,7 +36,7 @@
|
|||
|
||||
static uint8_t specifiedConditionCountPerMode[CHECKBOX_ITEM_COUNT];
|
||||
static bool isUsingSticksToArm = true;
|
||||
#ifdef NAV
|
||||
#ifdef USE_NAV
|
||||
static bool isUsingNAVModes = false;
|
||||
#endif
|
||||
|
||||
|
@ -56,7 +56,7 @@ bool isAirmodeActive(void)
|
|||
return feature(FEATURE_AIRMODE) || IS_RC_MODE_ACTIVE(BOXAIRMODE);
|
||||
}
|
||||
|
||||
#if defined(NAV)
|
||||
#if defined(USE_NAV)
|
||||
bool isUsingNavigationModes(void)
|
||||
{
|
||||
return isUsingNAVModes;
|
||||
|
@ -150,7 +150,7 @@ void updateUsedModeActivationConditionFlags(void)
|
|||
|
||||
isUsingSticksToArm = !isModeActivationConditionPresent(BOXARM);
|
||||
|
||||
#ifdef NAV
|
||||
#ifdef USE_NAV
|
||||
isUsingNAVModes = isModeActivationConditionPresent(BOXNAVPOSHOLD) ||
|
||||
isModeActivationConditionPresent(BOXNAVRTH) ||
|
||||
isModeActivationConditionPresent(BOXNAVWP);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue