mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 19:40:31 +03:00
Added 'disabled' motor protocol and made it the default.
This commit is contained in:
parent
7f00659a88
commit
d1ac12eccd
17 changed files with 193 additions and 149 deletions
|
@ -3803,7 +3803,7 @@ static void executeEscInfoCommand(const char *cmdName, uint8_t escIndex)
|
|||
|
||||
static void cliDshotProg(const char *cmdName, char *cmdline)
|
||||
{
|
||||
if (isEmpty(cmdline) || motorConfig()->dev.motorPwmProtocol < PWM_TYPE_DSHOT150) {
|
||||
if (isEmpty(cmdline) || !isMotorProtocolDshot()) {
|
||||
cliShowParseError(cmdName);
|
||||
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue