mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-25 17:25:18 +03:00
Merge pull request #3167 from shellixyz/update_msp_output_mapping
Update MSP2_INAV_OUTPUT_MAPPING to exclude inputs
This commit is contained in:
commit
d5f3309fb7
1 changed files with 2 additions and 1 deletions
|
@ -1350,7 +1350,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