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

Make CMS OSD menu max7456 settings have realtime effect (#9275)

Make CMS OSD menu max7456 settings have realtime effect
This commit is contained in:
Michael Keller 2019-12-10 12:41:03 +13:00 committed by GitHub
commit dad2b244e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 4 deletions

View file

@ -961,6 +961,9 @@ STATIC_UNIT_TESTED uint16_t cmsHandleKey(displayPort_t *pDisplay, cms_key_e key)
if ((p->flags & REBOOT_REQUIRED) && (*val != previousValue)) {
setRebootRequired();
}
if (p->func) {
p->func(pDisplay, p->data);
}
}
break;