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

Revert "Revert "Added 'ledstrip_visual_beeper' feature.""

This reverts commit f8aefc9c6f.
This commit is contained in:
borisbstyle 2016-05-24 14:05:52 +02:00
parent f8aefc9c6f
commit df6d564a9d
6 changed files with 37 additions and 1 deletions

View file

@ -770,6 +770,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))