AP_BoardConfig: load CUAVv6X defaults when detected

This commit is contained in:
Andrew Tridgell 2022-09-13 19:27:06 +10:00
parent 39fdc38c71
commit 7c25b34f56
1 changed files with 1 additions and 0 deletions

View File

@ -510,6 +510,7 @@ void AP_BoardConfig::detect_fmuv6_variant()
spi_check_register("bmi088_g", BMI088REG_CHIPID, CHIPID_BMI088_G))) {
state.board_type.set_and_notify(FMUV6_BOARD_CUAV_6X);
DEV_PRINTF("Detected CUAV 6X\n");
AP_Param::load_defaults_file("@ROMFS/param/CUAV_V6X_defaults.parm", false);
}
}