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

New Clli params RC Smoothing and sync_gyro_to_loop

This commit is contained in:
borisbstyle 2015-08-15 01:10:58 +02:00
parent 259630840a
commit 41895bc1af
9 changed files with 78 additions and 51 deletions

View file

@ -315,8 +315,10 @@ typedef struct {
} clivalue_t;
const clivalue_t valueTable[] = {
{ "looptime", VAR_UINT16 | MASTER_VALUE, &masterConfig.looptime, 0, 9000 },
{ "looptime", VAR_UINT16 | MASTER_VALUE, &masterConfig.looptime, 0, 4000 },
{ "sync_gyro_to_loop", VAR_UINT8 | MASTER_VALUE, &masterConfig.syncGyroToLoop, 0, 1 },
{ "emf_avoidance", VAR_UINT8 | MASTER_VALUE, &masterConfig.emf_avoidance, 0, 1 },
{ "rc_smoothing", VAR_UINT8 | MASTER_VALUE, &masterConfig.rcSmoothing, 0, 1 },
{ "mid_rc", VAR_UINT16 | MASTER_VALUE, &masterConfig.rxConfig.midrc, 1200, 1700 },
{ "min_check", VAR_UINT16 | MASTER_VALUE, &masterConfig.rxConfig.mincheck, PWM_RANGE_ZERO, PWM_RANGE_MAX },
@ -2146,7 +2148,7 @@ static void cliVersion(char *cmdline)
{
UNUSED(cmdline);
printf("# Betaflight/%s %s %s / %s (%s)",
printf("# BetaFlight/%s %s %s / %s (%s)",
targetName,
FC_VERSION_STRING,
buildDate,