mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 00:05:33 +03:00
clean up some spaces before newlines
This commit is contained in:
parent
bcac7f2e0b
commit
ad43631a8b
14 changed files with 28 additions and 28 deletions
|
@ -1358,7 +1358,7 @@ static bool mspProcessOutCommand(uint8_t cmdMSP, sbuf_t *dst)
|
|||
gyroAlignment = gyroDeviceConfig(0)->align;
|
||||
#endif
|
||||
sbufWriteU8(dst, gyroAlignment);
|
||||
sbufWriteU8(dst, gyroAlignment); // Starting with 4.0 gyro and acc alignment are the same
|
||||
sbufWriteU8(dst, gyroAlignment); // Starting with 4.0 gyro and acc alignment are the same
|
||||
sbufWriteU8(dst, compassConfig()->mag_align);
|
||||
|
||||
// API 1.41 - Add multi-gyro indicator, selected gyro, and support for separate gyro 1 & 2 alignment
|
||||
|
@ -1860,7 +1860,7 @@ static mspResult_e mspProcessInCommand(uint8_t cmdMSP, sbuf_t *src)
|
|||
if (sbufBytesRemaining(src) >= 1) {
|
||||
currentControlRateProfile->rcExpo[FD_PITCH] = sbufReadU8(src);
|
||||
}
|
||||
|
||||
|
||||
// version 1.41
|
||||
if (sbufBytesRemaining(src) >= 2) {
|
||||
currentControlRateProfile->throttle_limit_type = sbufReadU8(src);
|
||||
|
@ -2760,7 +2760,7 @@ static mspResult_e mspCommonProcessInCommand(uint8_t cmdMSP, sbuf_t *src, mspPos
|
|||
// API < 1.41 supports only the low 16 bits
|
||||
osdConfigMutable()->enabledWarnings = sbufReadU16(src);
|
||||
}
|
||||
|
||||
|
||||
if (sbufBytesRemaining(src) >= 4) {
|
||||
// 32bit version of enabled warnings (API >= 1.41)
|
||||
osdConfigMutable()->enabledWarnings = sbufReadU32(src);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue