mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 12:55:19 +03:00
duplicate emptyline removal (#14027)
* trailing space removal Co-authored-by: Petr Ledvina <ledvinap@gmail.com> * deduplicate empty lines --------- Co-authored-by: Petr Ledvina <ledvinap@gmail.com> Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
This commit is contained in:
parent
493b9bf819
commit
ed6a4a4769
289 changed files with 0 additions and 629 deletions
|
@ -158,7 +158,6 @@
|
|||
|
||||
#include "msp.h"
|
||||
|
||||
|
||||
static const char * const flightControllerIdentifier = FC_FIRMWARE_IDENTIFIER; // 4 UPPER CASE alpha numeric characters that identify the flight controller.
|
||||
|
||||
enum {
|
||||
|
@ -1228,14 +1227,12 @@ case MSP_NAME:
|
|||
rpmDataAvailable = true;
|
||||
invalidPct = 10000; // 100.00%
|
||||
|
||||
|
||||
#ifdef USE_DSHOT_TELEMETRY_STATS
|
||||
if (isDshotMotorTelemetryActive(i)) {
|
||||
invalidPct = getDshotTelemetryMotorInvalidPercent(i);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
// Provide extended dshot telemetry
|
||||
if ((dshotTelemetryState.motorState[i].telemetryTypes & DSHOT_EXTENDED_TELEMETRY_MASK) != 0) {
|
||||
// Temperature Celsius [0, 1, ..., 255] in degree Celsius, just like Blheli_32 and KISS
|
||||
|
@ -1813,7 +1810,6 @@ case MSP_NAME:
|
|||
sbufWriteU16(dst, flight3DConfig()->deadband3d_throttle);
|
||||
break;
|
||||
|
||||
|
||||
case MSP_SENSOR_ALIGNMENT: {
|
||||
uint8_t gyroAlignment;
|
||||
#ifdef USE_MULTI_GYRO
|
||||
|
@ -2189,7 +2185,6 @@ case MSP_NAME:
|
|||
return !unsupportedCommand;
|
||||
}
|
||||
|
||||
|
||||
#ifdef USE_SIMPLIFIED_TUNING
|
||||
// Reads simplified PID tuning values from MSP buffer
|
||||
static void readSimplifiedPids(pidProfile_t* pidProfile, sbuf_t *src)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue