1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 04:45:24 +03:00

Merge pull request #7198 from pkruger/bugfix-issue-7196-OSD-active-elements-menu

Add fix for issue 7196 OSD active elements menu moves items left by one
This commit is contained in:
Michael Keller 2018-12-12 00:14:32 +13:00 committed by GitHub
commit 9bae508ab8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -863,7 +863,7 @@ STATIC_UNIT_TESTED uint16_t cmsHandleKey(displayPort_t *pDisplay, cms_key_e key)
if (key == CMS_KEY_RIGHT)
*val |= OSD_PROFILE_1_FLAG;
else
*val %= ~OSD_PROFILE_1_FLAG;
*val &= ~OSD_PROFILE_1_FLAG;
SET_PRINTVALUE(p);
}
break;