From fb28a2651105e1a5838694d0d56b79e582ba9108 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 13 Sep 2022 19:27:06 +1000 Subject: [PATCH] AP_BoardConfig: load CUAVv6X defaults when detected --- libraries/AP_BoardConfig/board_drivers.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_BoardConfig/board_drivers.cpp b/libraries/AP_BoardConfig/board_drivers.cpp index e46726fafa..cc90d3456e 100644 --- a/libraries/AP_BoardConfig/board_drivers.cpp +++ b/libraries/AP_BoardConfig/board_drivers.cpp @@ -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); } }