1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 17:25:20 +03:00

Hide BFOSD when OSDSW is active

This commit is contained in:
Dan Nixon 2017-01-27 10:14:04 +00:00 committed by borisbstyle
parent 94993e55c0
commit 82df9f0c84

View file

@ -377,6 +377,10 @@ void osdDrawElements(void)
{
displayClearScreen(osdDisplayPort);
/* Hide OSD when OSDSW mode is active */
if (IS_RC_MODE_ACTIVE(BOXOSD))
return;
#if 0
if (currentElement)
osdDrawElementPositioningHelp();