mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-18 22:05:17 +03:00
Rebased on to master
This commit is contained in:
commit
8816678333
48 changed files with 205 additions and 371 deletions
|
@ -48,7 +48,6 @@ uint8_t cliMode = 0;
|
|||
#include "drivers/serial.h"
|
||||
#include "drivers/bus_i2c.h"
|
||||
#include "drivers/flash.h"
|
||||
#include "drivers/gpio.h"
|
||||
#include "drivers/io.h"
|
||||
#include "drivers/io_impl.h"
|
||||
#include "drivers/timer.h"
|
||||
|
@ -3097,11 +3096,11 @@ static void cliMotor(char *cmdline)
|
|||
cliShowArgumentRangeError("value", 1000, 2000);
|
||||
return;
|
||||
} else {
|
||||
motor_disarmed[motor_index] = motor_value;
|
||||
motor_disarmed[motor_index] = convertExternalToMotor(motor_value);
|
||||
}
|
||||
}
|
||||
|
||||
cliPrintf("motor %d: %d\r\n", motor_index, motor_disarmed[motor_index]);
|
||||
cliPrintf("motor %d: %d\r\n", motor_index, convertMotorToExternal(motor_disarmed[motor_index]));
|
||||
}
|
||||
|
||||
static void cliPlaySound(char *cmdline)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue