1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-26 09:45:33 +03:00

Mac issues

This commit is contained in:
Darren Lines 2024-08-06 19:49:22 +03:00
parent dad76ec961
commit fa166c61c6

View file

@ -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