mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-23 16:25:26 +03:00
Fix building without USE_CMS
This commit is contained in:
parent
d61978b328
commit
11f1762d45
1 changed files with 4 additions and 0 deletions
|
@ -2735,7 +2735,11 @@ static void osdShowArmed(void)
|
||||||
|
|
||||||
static void osdRefresh(timeUs_t currentTimeUs)
|
static void osdRefresh(timeUs_t currentTimeUs)
|
||||||
{
|
{
|
||||||
|
#ifdef USE_CMS
|
||||||
if (IS_RC_MODE_ACTIVE(BOXOSD) && (!cmsInMenu)) {
|
if (IS_RC_MODE_ACTIVE(BOXOSD) && (!cmsInMenu)) {
|
||||||
|
#else
|
||||||
|
if (IS_RC_MODE_ACTIVE(BOXOSD)) {
|
||||||
|
#endif
|
||||||
displayClearScreen(osdDisplayPort);
|
displayClearScreen(osdDisplayPort);
|
||||||
armState = ARMING_FLAG(ARMED);
|
armState = ARMING_FLAG(ARMED);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue