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:
commit
9bae508ab8
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue