mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
Added command 'motor 255' (all motors) to CLI.
This commit is contained in:
parent
7a3930c7c4
commit
b20ede5165
4 changed files with 53 additions and 49 deletions
|
@ -233,7 +233,7 @@ static void mspFc4waySerialCommand(sbuf_t *dst, sbuf_t *src, mspPostProcessFnPtr
|
|||
case PROTOCOL_KISS:
|
||||
case PROTOCOL_KISSALL:
|
||||
case PROTOCOL_CASTLE:
|
||||
if (escPortIndex < getMotorCount() || (escMode == PROTOCOL_KISS && escPortIndex == ALL_ESCS)) {
|
||||
if (escPortIndex < getMotorCount() || (escMode == PROTOCOL_KISS && escPortIndex == ALL_MOTORS)) {
|
||||
sbufWriteU8(dst, 1);
|
||||
|
||||
if (mspPostProcessFn) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue