Skip to content

Commit

Permalink
throttle motor limits cli
Browse files Browse the repository at this point in the history
  • Loading branch information
rtlopez committed Sep 2, 2020
1 parent c090008 commit 1ac322c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/Espfc/src/Cli.h
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,7 @@ class Cli
static const char* protocolChoices[] = { PSTR("PWM"), PSTR("ONESHOT125"), PSTR("ONESHOT42"), PSTR("MULTISHOT"), PSTR("BRUSHED"),
PSTR("DSHOT150"), PSTR("DSHOT300"), PSTR("DSHOT600"), PSTR("DSHOT1200"), PSTR("PROSHOT1000"), NULL };
static const char* inputRateTypeChoices[] = { PSTR("BETAFLIGHT"), PSTR("RACEFLIGHT"), PSTR("KISS"), PSTR("ACTUAL"), PSTR("QUICK"), NULL };
static const char* throtleLimitTypeChoices[] = { PSTR("NONE"), PSTR("SCALE"), PSTR("CLIP"), NULL };

const char ** wifiModeChoices = WirelessConfig::getModeNames();

Expand Down Expand Up @@ -547,6 +548,9 @@ class Cli
Param(PSTR("mixer_sync"), &c.mixerSync),
Param(PSTR("mixer_type"), &c.mixerType, mixerTypeChoices),
Param(PSTR("mixer_yaw_reverse"), &c.yawReverse),
Param(PSTR("mixer_throttle_limit_type"), &c.output.throttleLimitType, throtleLimitTypeChoices),
Param(PSTR("mixer_throttle_limit_percent"), &c.output.throttleLimitPercent),
Param(PSTR("mixer_output_limit"), &c.output.motorLimit),

Param(PSTR("output_motor_protocol"), &c.output.protocol, protocolChoices),
Param(PSTR("output_motor_async"), &c.output.async),
Expand Down

0 comments on commit 1ac322c

Please sign in to comment.