1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 13:25:30 +03:00

Selectively turning on/off the beeper through CLI

This commit is contained in:
Pierre-A 2015-09-15 15:41:30 +02:00
parent c6f5b98a79
commit 09e7a01b2c
8 changed files with 82 additions and 15 deletions

View file

@ -522,6 +522,8 @@ const clivalue_t valueTable[] = {
{ "magzero_x", VAR_INT16 | MASTER_VALUE, &masterConfig.magZero.raw[X], -32768, 32767 },
{ "magzero_y", VAR_INT16 | MASTER_VALUE, &masterConfig.magZero.raw[Y], -32768, 32767 },
{ "magzero_z", VAR_INT16 | MASTER_VALUE, &masterConfig.magZero.raw[Z], -32768, 32767 },
{ "beeper_off_flags", VAR_UINT32 | MASTER_VALUE, &masterConfig.beeper_off.flags, BEEPER_OFF_FLAGS_MIN, BEEPER_OFF_FLAGS_MAX },
};
#define VALUE_COUNT (sizeof(valueTable) / sizeof(clivalue_t))