1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-24 00:35:34 +03:00

Update MSP2_INAV_OUTPUT_MAPPING to exclude inputs

This commit is contained in:
Michel Pastor 2018-05-06 02:34:28 +02:00
parent 9f353355ac
commit ae6896c519

View file

@ -1341,7 +1341,8 @@ static bool mspFcProcessOutCommand(uint16_t cmdMSP, sbuf_t *dst, mspPostProcessF
case MSP2_INAV_OUTPUT_MAPPING:
for (uint8_t i = 0; i < USABLE_TIMER_CHANNEL_COUNT; ++i)
sbufWriteU8(dst, timerHardware[i].usageFlags);
if (!(timerHardware[i].usageFlags & (TIM_USE_PPM | TIM_USE_PWM)))
sbufWriteU8(dst, timerHardware[i].usageFlags);
break;
default: