mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 14:55:21 +03:00
Merge pull request #9967 from etracer65/osd_refresh_background_msp
Refresh OSD background after MSP change to craft name
This commit is contained in:
commit
8ee0bff93c
1 changed files with 3 additions and 0 deletions
|
@ -3260,6 +3260,9 @@ static mspResult_e mspProcessInCommand(mspDescriptor_t srcDesc, int16_t cmdMSP,
|
|||
for (unsigned int i = 0; i < MIN(MAX_NAME_LENGTH, dataSize); i++) {
|
||||
pilotConfigMutable()->name[i] = sbufReadU8(src);
|
||||
}
|
||||
#ifdef USE_OSD
|
||||
osdAnalyzeActiveElements();
|
||||
#endif
|
||||
break;
|
||||
|
||||
#ifdef USE_RTC_TIME
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue