1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 12:55:19 +03:00

Added 'ledstrip_visual_beeper' feature.

Added build condition for LED strip related config option.

Added 'ledstrip_visual_beeper' feature.

Added build condition for LED strip related config option.
This commit is contained in:
Michael Keller 2016-04-18 13:45:31 +12:00
parent 74cd38a77b
commit d6e7ed3560
6 changed files with 37 additions and 1 deletions

View file

@ -771,6 +771,9 @@ const clivalue_t valueTable[] = {
{ "magzero_x", VAR_INT16 | MASTER_VALUE, &masterConfig.magZero.raw[X], .config.minmax = { -32768, 32767 } },
{ "magzero_y", VAR_INT16 | MASTER_VALUE, &masterConfig.magZero.raw[Y], .config.minmax = { -32768, 32767 } },
{ "magzero_z", VAR_INT16 | MASTER_VALUE, &masterConfig.magZero.raw[Z], .config.minmax = { -32768, 32767 } },
#ifdef LED_STRIP
{ "ledstrip_visual_beeper", VAR_UINT8 | MASTER_VALUE | MODE_LOOKUP, &masterConfig.ledstrip_visual_beeper, .config.lookup = { TABLE_OFF_ON } },
#endif
};
#define VALUE_COUNT (sizeof(valueTable) / sizeof(clivalue_t))