mirror of https://github.com/ArduPilot/ardupilot
AP_BoardConfig: load CUAVv6X defaults when detected
This commit is contained in:
parent
39fdc38c71
commit
7c25b34f56
|
@ -510,6 +510,7 @@ void AP_BoardConfig::detect_fmuv6_variant()
|
||||||
spi_check_register("bmi088_g", BMI088REG_CHIPID, CHIPID_BMI088_G))) {
|
spi_check_register("bmi088_g", BMI088REG_CHIPID, CHIPID_BMI088_G))) {
|
||||||
state.board_type.set_and_notify(FMUV6_BOARD_CUAV_6X);
|
state.board_type.set_and_notify(FMUV6_BOARD_CUAV_6X);
|
||||||
DEV_PRINTF("Detected CUAV 6X\n");
|
DEV_PRINTF("Detected CUAV 6X\n");
|
||||||
|
AP_Param::load_defaults_file("@ROMFS/param/CUAV_V6X_defaults.parm", false);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue