HAL_ChibiOS: move heater gains on CubeOrange to hwdef.dat

this makes it easier for users using apjtool to override params
This commit is contained in:
Andrew Tridgell 2021-05-31 10:57:53 +10:00
parent 244d896bfb
commit ac1e03e16a
2 changed files with 4 additions and 6 deletions

View File

@ -9,7 +9,3 @@ BATT2_VOLT_MULT 12.02
ADSB_TYPE 1
SERIAL5_BAUD 57
SERIAL5_PROTOCOL 1
# lower heater gains
BRD_IMUHEAT_I 0.07
BRD_IMUHEAT_P 50

View File

@ -300,9 +300,11 @@ define HAL_HAVE_SAFETY_SWITCH 1
# Enable RAMTROM parameter storage.
define HAL_WITH_RAMTRON 1
# Setup for the possibility of an IMU heater since the pixhawk2 cube has
# an IMU heater.
# Setup the IMU heater
define HAL_HAVE_IMU_HEATER 1
define HAL_IMU_TEMP_DEFAULT 45
define HAL_IMUHEAT_P_DEFAULT 50
define HAL_IMUHEAT_I_DEFAULT 0.07
# Enable FAT filesystem support (needs a microSD defined via SDMMC).
define HAL_OS_FATFS_IO 1