mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-30 18:06:39 +08:00
remove "transitional support" (#5378)
This commit is contained in:
committed by
Lorenz Meier
parent
96384bdc29
commit
545152f676
@@ -34,15 +34,6 @@ set PWM_AUX_DISARMED 1500
|
|||||||
set PWM_AUX_MIN 1000
|
set PWM_AUX_MIN 1000
|
||||||
set PWM_AUX_MAX 2000
|
set PWM_AUX_MAX 2000
|
||||||
|
|
||||||
# Transitional support: ensure suitable PWM min/max param values
|
|
||||||
if param compare PWM_MIN 1000
|
|
||||||
then
|
|
||||||
param set PWM_MIN 1075
|
|
||||||
fi
|
|
||||||
if param compare PWM_MAX 2000
|
|
||||||
then
|
|
||||||
param set PWM_MAX 1950
|
|
||||||
fi
|
|
||||||
if param compare PWM_DISARMED 0
|
if param compare PWM_DISARMED 0
|
||||||
then
|
then
|
||||||
param set PWM_DISARMED 900
|
param set PWM_DISARMED 900
|
||||||
|
|||||||
@@ -34,15 +34,6 @@ set PWM_DISARMED p:PWM_DISARMED
|
|||||||
set PWM_MIN p:PWM_MIN
|
set PWM_MIN p:PWM_MIN
|
||||||
set PWM_MAX p:PWM_MAX
|
set PWM_MAX p:PWM_MAX
|
||||||
|
|
||||||
# Transitional support: ensure suitable PWM min/max param values
|
|
||||||
if param compare PWM_MIN 1000
|
|
||||||
then
|
|
||||||
param set PWM_MIN 1075
|
|
||||||
fi
|
|
||||||
if param compare PWM_MAX 2000
|
|
||||||
then
|
|
||||||
param set PWM_MAX 1950
|
|
||||||
fi
|
|
||||||
if param compare PWM_DISARMED 0
|
if param compare PWM_DISARMED 0
|
||||||
then
|
then
|
||||||
param set PWM_DISARMED 900
|
param set PWM_DISARMED 900
|
||||||
|
|||||||
Reference in New Issue
Block a user