1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 00:05:33 +03:00

Merge pull request #7553 from etracer65/osd_profile_switch_msp_cms

Add OSD profile switching to MSP and CMS
This commit is contained in:
Michael Keller 2019-02-10 12:55:55 +13:00 committed by GitHub
commit d63878aebc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 0 deletions

View file

@ -2672,6 +2672,7 @@ static mspResult_e mspCommonProcessInCommand(uint8_t cmdMSP, sbuf_t *src, mspPos
// selected OSD profile
#ifdef USE_OSD_PROFILES
osdConfigMutable()->osdProfileIndex = sbufReadU8(src);
setOsdProfile(osdConfig()->osdProfileIndex);
#else
sbufReadU8(src);
#endif // USE_OSD_PROFILES