Merge pull request #164 from AlienWiiBF/CLI_Fix

Fix CLI table lookup for targets without blackbox support
This commit is contained in:
borisbstyle 2016-02-07 20:42:38 +01:00
commit 8b85c57723
1 changed files with 2 additions and 0 deletions

View File

@ -439,7 +439,9 @@ static const lookupTableEntry_t lookupTables[] = {
{ lookupTableGPSProvider, sizeof(lookupTableGPSProvider) / sizeof(char *) },
{ lookupTableGPSSBASMode, sizeof(lookupTableGPSSBASMode) / sizeof(char *) },
#endif
#ifdef BLACKBOX
{ lookupTableBlackboxDevice, sizeof(lookupTableBlackboxDevice) / sizeof(char *) },
#endif
{ lookupTableCurrentSensor, sizeof(lookupTableCurrentSensor) / sizeof(char *) },
{ lookupTableGimbalMode, sizeof(lookupTableGimbalMode) / sizeof(char *) },
{ lookupTablePidController, sizeof(lookupTablePidController) / sizeof(char *) },