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

Test Mode Blackbox Logging

Prevent pausing of the log in test mode if a mode switch is configured

Add CLI Command and protect against blackbox storage full

Added CLI command blackbox_on_motor_test (ON/OFF).

Test Mode Blackbox Logging

Prevent pausing of the log in test mode if a mode switch is configured

Add CLI Command and protect against blackbox storage full

Added CLI command blackbox_on_motor_test (ON/OFF).

Cleanup as per BorisB recommendations

Remove un-needed header file entries and convert to millis().

Updated as per latest comments
This commit is contained in:
Gary Keeble 2016-08-16 12:51:16 +01:00 committed by borisbstyle
parent eb83ffa58c
commit 69e2c991e3
4 changed files with 77 additions and 1 deletions

View file

@ -885,6 +885,8 @@ const clivalue_t valueTable[] = {
{ "blackbox_rate_num", VAR_UINT8 | MASTER_VALUE, &masterConfig.blackbox_rate_num, .config.minmax = { 1, 32 } },
{ "blackbox_rate_denom", VAR_UINT8 | MASTER_VALUE, &masterConfig.blackbox_rate_denom, .config.minmax = { 1, 32 } },
{ "blackbox_device", VAR_UINT8 | MASTER_VALUE | MODE_LOOKUP, &masterConfig.blackbox_device, .config.lookup = { TABLE_BLACKBOX_DEVICE } },
{ "blackbox_on_motor_test", VAR_UINT8 | MASTER_VALUE | MODE_LOOKUP, &masterConfig.blackbox_on_motor_test, .config.lookup = { TABLE_OFF_ON } },
#endif
#ifdef VTX