mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-15 12:25:13 +03:00
Fix #1821
The code was checking the wrong variable for usage flags, after refactoring to inform configurator of timers
This commit is contained in:
parent
dae2b82f65
commit
ac1cc38f03
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ let OutputMappingCollection = function () {
|
|||
timerMap[i] = null;
|
||||
|
||||
if (isMR) {
|
||||
if (servosToGo > 0 && bit_check(data[i], TIM_USE_MC_SERVO)) {
|
||||
if (servosToGo > 0 && bit_check(data[i]['usageFlags'], TIM_USE_MC_SERVO)) {
|
||||
servosToGo--;
|
||||
timerMap[i] = OUTPUT_TYPE_SERVO;
|
||||
} else if (motorsToGo > 0 && bit_check(data[i]['usageFlags'], TIM_USE_MC_MOTOR)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue