mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-26 09:45:33 +03:00
Mac issues
This commit is contained in:
parent
dad76ec961
commit
fa166c61c6
1 changed files with 13 additions and 11 deletions
|
@ -3840,6 +3840,7 @@ bool mspFCProcessInOutCommand(uint16_t cmdMSP, sbuf_t *dst, sbuf_t *src, mspResu
|
||||||
*ret = mspFcLogicConditionCommand(dst, src);
|
*ret = mspFcLogicConditionCommand(dst, src);
|
||||||
break;
|
break;
|
||||||
case MSP2_INAV_CUSTOM_OSD_ELEMENT:
|
case MSP2_INAV_CUSTOM_OSD_ELEMENT:
|
||||||
|
{
|
||||||
const uint8_t idx = sbufReadU8(src);
|
const uint8_t idx = sbufReadU8(src);
|
||||||
|
|
||||||
if (idx < MAX_CUSTOM_ELEMENTS) {
|
if (idx < MAX_CUSTOM_ELEMENTS) {
|
||||||
|
@ -3854,6 +3855,7 @@ bool mspFCProcessInOutCommand(uint16_t cmdMSP, sbuf_t *dst, sbuf_t *src, mspResu
|
||||||
sbufWriteU8(dst, customElement->osdCustomElementText[ii]);
|
sbufWriteU8(dst, customElement->osdCustomElementText[ii]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
#ifdef USE_SAFE_HOME
|
#ifdef USE_SAFE_HOME
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue