Fix CLI table lookup for targets without blackbox support

This commit is contained in:
Michael Jakob 2016-02-07 13:15:04 +01:00
parent 350bae1ae9
commit c906e4cd76
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 *) },