mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-23 00:05:28 +03:00
Fixed code so that it builds whether or not USE_SERVOS is defined.
This commit is contained in:
parent
55e986e338
commit
dfe8b5640b
3 changed files with 54 additions and 48 deletions
|
@ -1608,7 +1608,7 @@ static void cliDump(char *cmdline)
|
|||
|
||||
// print custom servo mixer if exists
|
||||
printf("smix reset\r\n");
|
||||
|
||||
#ifdef USE_SERVOS
|
||||
for (i = 0; i < MAX_SERVO_RULES; i++) {
|
||||
|
||||
if (masterConfig.customServoMixer[i].rate == 0)
|
||||
|
@ -1626,6 +1626,7 @@ static void cliDump(char *cmdline)
|
|||
);
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
cliPrint("\r\n\r\n# feature\r\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue