mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 01:05:27 +03:00
White space tidy
This commit is contained in:
parent
d25c852098
commit
ff16686893
58 changed files with 310 additions and 310 deletions
|
@ -700,7 +700,7 @@ int8_t calculateThrottlePercent(void)
|
|||
if (featureIsEnabled(FEATURE_3D)
|
||||
&& !IS_RC_MODE_ACTIVE(BOX3D)
|
||||
&& !flight3DConfig()->switched_mode3d) {
|
||||
|
||||
|
||||
if (channelData > (rxConfig()->midrc + flight3DConfig()->deadband3d_throttle)) {
|
||||
ret = ((channelData - rxConfig()->midrc - flight3DConfig()->deadband3d_throttle) * 100) / (PWM_RANGE_MAX - rxConfig()->midrc - flight3DConfig()->deadband3d_throttle);
|
||||
} else if (channelData < (rxConfig()->midrc - flight3DConfig()->deadband3d_throttle)) {
|
||||
|
@ -761,7 +761,7 @@ bool processRx(timeUs_t currentTimeUs)
|
|||
|
||||
const throttleStatus_e throttleStatus = calculateThrottleStatus();
|
||||
const uint8_t throttlePercent = calculateThrottlePercentAbs();
|
||||
|
||||
|
||||
const bool launchControlActive = isLaunchControlActive();
|
||||
|
||||
if (airmodeIsEnabled() && ARMING_FLAG(ARMED) && !launchControlActive) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue