mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-09 13:24:25 +08:00
a061b8665b
hardcoding the default warning and respecting boards without SD card with a define.
22 lines
606 B
Bash
22 lines
606 B
Bash
#!/bin/sh
|
|
#
|
|
# AirBrainH743 board specific defaults
|
|
#------------------------------------------------------------------------------
|
|
|
|
# Battery voltage divider and current scale
|
|
param set-default BAT1_V_DIV 15.0
|
|
param set-default BAT1_A_PER_V 101.0
|
|
|
|
# system_power unavailable
|
|
param set-default CBRK_SUPPLY_CHK 894281
|
|
|
|
param set-default IMU_GYRO_RATEMAX 2000
|
|
|
|
# W25N NAND flash with littlefs (128 MB): small log file size so we can keep
|
|
# a few recent logs, and fill up to 95%.
|
|
param set-default SDLOG_ROTATE 95
|
|
param set-default SDLOG_MAX_SIZE 40
|
|
|
|
# Store missions in RAM
|
|
param set-default SYS_DM_BACKEND 1
|