mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 04:53:34 +08:00
22 lines
398 B
Bash
22 lines
398 B
Bash
#!/bin/sh
|
|
#
|
|
# Board specific defaults
|
|
#------------------------------------------------------------------------------
|
|
|
|
|
|
if [ $AUTOCNF = yes ]
|
|
then
|
|
param set BAT_V_DIV 10.1
|
|
param set BAT1_V_DIV 10.1
|
|
param set BAT2_V_DI 10.1
|
|
|
|
param set BAT_A_PER_V 17
|
|
param set BAT1_A_PER_V 17
|
|
param set BAT2_A_PER_V 17
|
|
|
|
# Disable IMU thermal control by FMU
|
|
param set SENS_EN_THERMAL -1
|
|
fi
|
|
|
|
set LOGGER_BUF 64
|