1
0
Fork 0
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:
jflyper 2016-10-29 02:01:48 +09:00
commit 8816678333
48 changed files with 205 additions and 371 deletions

View file

@ -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)