mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 05:15:25 +03:00
Avoid print smix table header multiple times.
This commit is contained in:
parent
3776bb07dc
commit
774a36a2d5
2 changed files with 3 additions and 3 deletions
|
@ -994,12 +994,12 @@ static void cliServoMix(char *cmdline)
|
|||
|
||||
if (len == 0) {
|
||||
|
||||
cliPrint("Rule\tServo\tSource\tRate\tSpeed\tMin\tMax\tBox\r\n");
|
||||
|
||||
for (i = 0; i < MAX_SERVO_RULES; i++) {
|
||||
if (masterConfig.customServoMixer[i].rate == 0)
|
||||
break;
|
||||
|
||||
cliPrint("Rule\tServo\tSource\tRate\tSpeed\tMin\tMax\tBox\r\n");
|
||||
|
||||
printf("#%d:\t%d\t%d\t%d\t%d\t%d\t%d\t%d\r\n",
|
||||
i,
|
||||
masterConfig.customServoMixer[i].targetChannel,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue