rc.mc_defaults: only set IMU_GYRO_RATEMAX if default

Allows boards to set a higher rate.
This commit is contained in:
Beat Küng
2022-01-17 15:45:45 +01:00
committed by Daniel Agar
parent 425b268feb
commit 4cbee44220
+4 -1
View File
@@ -7,7 +7,10 @@
set VEHICLE_TYPE mc
param set-default IMU_GYRO_RATEMAX 800
if param compare IMU_GYRO_RATEMAX 400
then
param set-default IMU_GYRO_RATEMAX 800
fi
param set-default NAV_ACC_RAD 2