1
0
Fork 0
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:
Martin Budden 2015-12-12 22:28:35 +00:00 committed by Dominic Clifton
parent 55e986e338
commit dfe8b5640b
3 changed files with 54 additions and 48 deletions

View file

@ -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");