1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-14 20:10:18 +03:00

Fixed CC Channel versus Index issue, and added additional mapping in timerHardware for 7X2 target

This commit is contained in:
blckmn 2018-05-06 08:02:33 +10:00
parent e5031407a6
commit 6d33fc6b0b
3 changed files with 7 additions and 2 deletions

View file

@ -3692,7 +3692,7 @@ static void cliTimer(char *cmdline)
cliPrintLinef("# %d. TIM%d CH%d",
index,
timerGetTIMNumber(timerHardware[i].tim),
timerHardware[i].channel
CC_INDEX_FROM_CHANNEL(timerHardware[i].channel)
);
index++;
}