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:
parent
9f353355ac
commit
ae6896c519
1 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue