mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-13 22:17:36 +08:00
1ac6230758
- this can lower cpu usage considerably on older boards
16 lines
313 B
Bash
16 lines
313 B
Bash
#!/bin/sh
|
|
#
|
|
# mRo x21 specific board defaults
|
|
#------------------------------------------------------------------------------
|
|
|
|
# to minimize cpu usage on older boards limit inner loop to 400 Hz by default
|
|
if param compare IMU_GYRO_RATEMAX 0
|
|
then
|
|
param set IMU_GYRO_RATEMAX 400
|
|
fi
|
|
|
|
if [ $AUTOCNF = yes ]
|
|
then
|
|
|
|
fi
|