From 49a3a9d220fce3e131765b783a7f5639289b7760 Mon Sep 17 00:00:00 2001 From: Thomas Watson Date: Fri, 13 Dec 2024 11:05:39 -0600 Subject: [PATCH] AP_BattMonitor: add missing subgroup links to correct metadata gen --- libraries/AP_BattMonitor/AP_BattMonitor.cpp | 96 +++++++++++++++++++++ 1 file changed, 96 insertions(+) diff --git a/libraries/AP_BattMonitor/AP_BattMonitor.cpp b/libraries/AP_BattMonitor/AP_BattMonitor.cpp index f3756ed1e5..849a880a36 100644 --- a/libraries/AP_BattMonitor/AP_BattMonitor.cpp +++ b/libraries/AP_BattMonitor/AP_BattMonitor.cpp @@ -69,6 +69,12 @@ const AP_Param::GroupInfo AP_BattMonitor::var_info[] = { // @Path: AP_BattMonitor_INA2xx.cpp // @Group: _ // @Path: AP_BattMonitor_ESC.cpp + // @Group: _ + // @Path: AP_BattMonitor_INA239.cpp + // @Group: _ + // @Path: AP_BattMonitor_INA3221.cpp + // @Group: _ + // @Path: AP_BattMonitor_AD7091R5.cpp AP_SUBGROUPVARPTR(drivers[0], "_", 41, AP_BattMonitor, backend_var_info[0]), #if AP_BATT_MONITOR_MAX_INSTANCES > 1 @@ -92,6 +98,12 @@ const AP_Param::GroupInfo AP_BattMonitor::var_info[] = { // @Path: AP_BattMonitor_INA2xx.cpp // @Group: 2_ // @Path: AP_BattMonitor_ESC.cpp + // @Group: 2_ + // @Path: AP_BattMonitor_INA239.cpp + // @Group: 2_ + // @Path: AP_BattMonitor_INA3221.cpp + // @Group: 2_ + // @Path: AP_BattMonitor_AD7091R5.cpp AP_SUBGROUPVARPTR(drivers[1], "2_", 42, AP_BattMonitor, backend_var_info[1]), #endif @@ -116,6 +128,12 @@ const AP_Param::GroupInfo AP_BattMonitor::var_info[] = { // @Path: AP_BattMonitor_INA2xx.cpp // @Group: 3_ // @Path: AP_BattMonitor_ESC.cpp + // @Group: 3_ + // @Path: AP_BattMonitor_INA239.cpp + // @Group: 3_ + // @Path: AP_BattMonitor_INA3221.cpp + // @Group: 3_ + // @Path: AP_BattMonitor_AD7091R5.cpp AP_SUBGROUPVARPTR(drivers[2], "3_", 43, AP_BattMonitor, backend_var_info[2]), #endif @@ -140,6 +158,12 @@ const AP_Param::GroupInfo AP_BattMonitor::var_info[] = { // @Path: AP_BattMonitor_INA2xx.cpp // @Group: 4_ // @Path: AP_BattMonitor_ESC.cpp + // @Group: 4_ + // @Path: AP_BattMonitor_INA239.cpp + // @Group: 4_ + // @Path: AP_BattMonitor_INA3221.cpp + // @Group: 4_ + // @Path: AP_BattMonitor_AD7091R5.cpp AP_SUBGROUPVARPTR(drivers[3], "4_", 44, AP_BattMonitor, backend_var_info[3]), #endif @@ -164,6 +188,12 @@ const AP_Param::GroupInfo AP_BattMonitor::var_info[] = { // @Path: AP_BattMonitor_INA2xx.cpp // @Group: 5_ // @Path: AP_BattMonitor_ESC.cpp + // @Group: 5_ + // @Path: AP_BattMonitor_INA239.cpp + // @Group: 5_ + // @Path: AP_BattMonitor_INA3221.cpp + // @Group: 5_ + // @Path: AP_BattMonitor_AD7091R5.cpp AP_SUBGROUPVARPTR(drivers[4], "5_", 45, AP_BattMonitor, backend_var_info[4]), #endif @@ -188,6 +218,12 @@ const AP_Param::GroupInfo AP_BattMonitor::var_info[] = { // @Path: AP_BattMonitor_INA2xx.cpp // @Group: 6_ // @Path: AP_BattMonitor_ESC.cpp + // @Group: 6_ + // @Path: AP_BattMonitor_INA239.cpp + // @Group: 6_ + // @Path: AP_BattMonitor_INA3221.cpp + // @Group: 6_ + // @Path: AP_BattMonitor_AD7091R5.cpp AP_SUBGROUPVARPTR(drivers[5], "6_", 46, AP_BattMonitor, backend_var_info[5]), #endif @@ -212,6 +248,12 @@ const AP_Param::GroupInfo AP_BattMonitor::var_info[] = { // @Path: AP_BattMonitor_INA2xx.cpp // @Group: 7_ // @Path: AP_BattMonitor_ESC.cpp + // @Group: 7_ + // @Path: AP_BattMonitor_INA239.cpp + // @Group: 7_ + // @Path: AP_BattMonitor_INA3221.cpp + // @Group: 7_ + // @Path: AP_BattMonitor_AD7091R5.cpp AP_SUBGROUPVARPTR(drivers[6], "7_", 47, AP_BattMonitor, backend_var_info[6]), #endif @@ -236,6 +278,12 @@ const AP_Param::GroupInfo AP_BattMonitor::var_info[] = { // @Path: AP_BattMonitor_INA2xx.cpp // @Group: 8_ // @Path: AP_BattMonitor_ESC.cpp + // @Group: 8_ + // @Path: AP_BattMonitor_INA239.cpp + // @Group: 8_ + // @Path: AP_BattMonitor_INA3221.cpp + // @Group: 8_ + // @Path: AP_BattMonitor_AD7091R5.cpp AP_SUBGROUPVARPTR(drivers[7], "8_", 48, AP_BattMonitor, backend_var_info[7]), #endif @@ -260,6 +308,12 @@ const AP_Param::GroupInfo AP_BattMonitor::var_info[] = { // @Path: AP_BattMonitor_INA2xx.cpp // @Group: 9_ // @Path: AP_BattMonitor_ESC.cpp + // @Group: 9_ + // @Path: AP_BattMonitor_INA239.cpp + // @Group: 9_ + // @Path: AP_BattMonitor_INA3221.cpp + // @Group: 9_ + // @Path: AP_BattMonitor_AD7091R5.cpp AP_SUBGROUPVARPTR(drivers[8], "9_", 49, AP_BattMonitor, backend_var_info[8]), #endif @@ -284,6 +338,12 @@ const AP_Param::GroupInfo AP_BattMonitor::var_info[] = { // @Path: AP_BattMonitor_INA2xx.cpp // @Group: A_ // @Path: AP_BattMonitor_ESC.cpp + // @Group: A_ + // @Path: AP_BattMonitor_INA239.cpp + // @Group: A_ + // @Path: AP_BattMonitor_INA3221.cpp + // @Group: A_ + // @Path: AP_BattMonitor_AD7091R5.cpp AP_SUBGROUPVARPTR(drivers[9], "A_", 50, AP_BattMonitor, backend_var_info[9]), #endif @@ -308,6 +368,12 @@ const AP_Param::GroupInfo AP_BattMonitor::var_info[] = { // @Path: AP_BattMonitor_INA2xx.cpp // @Group: B_ // @Path: AP_BattMonitor_ESC.cpp + // @Group: B_ + // @Path: AP_BattMonitor_INA239.cpp + // @Group: B_ + // @Path: AP_BattMonitor_INA3221.cpp + // @Group: B_ + // @Path: AP_BattMonitor_AD7091R5.cpp AP_SUBGROUPVARPTR(drivers[10], "B_", 51, AP_BattMonitor, backend_var_info[10]), #endif @@ -332,6 +398,12 @@ const AP_Param::GroupInfo AP_BattMonitor::var_info[] = { // @Path: AP_BattMonitor_INA2xx.cpp // @Group: C_ // @Path: AP_BattMonitor_ESC.cpp + // @Group: C_ + // @Path: AP_BattMonitor_INA239.cpp + // @Group: C_ + // @Path: AP_BattMonitor_INA3221.cpp + // @Group: C_ + // @Path: AP_BattMonitor_AD7091R5.cpp AP_SUBGROUPVARPTR(drivers[11], "C_", 52, AP_BattMonitor, backend_var_info[11]), #endif @@ -356,6 +428,12 @@ const AP_Param::GroupInfo AP_BattMonitor::var_info[] = { // @Path: AP_BattMonitor_INA2xx.cpp // @Group: D_ // @Path: AP_BattMonitor_ESC.cpp + // @Group: D_ + // @Path: AP_BattMonitor_INA239.cpp + // @Group: D_ + // @Path: AP_BattMonitor_INA3221.cpp + // @Group: D_ + // @Path: AP_BattMonitor_AD7091R5.cpp AP_SUBGROUPVARPTR(drivers[12], "D_", 53, AP_BattMonitor, backend_var_info[12]), #endif @@ -380,6 +458,12 @@ const AP_Param::GroupInfo AP_BattMonitor::var_info[] = { // @Path: AP_BattMonitor_INA2xx.cpp // @Group: E_ // @Path: AP_BattMonitor_ESC.cpp + // @Group: E_ + // @Path: AP_BattMonitor_INA239.cpp + // @Group: E_ + // @Path: AP_BattMonitor_INA3221.cpp + // @Group: E_ + // @Path: AP_BattMonitor_AD7091R5.cpp AP_SUBGROUPVARPTR(drivers[13], "E_", 54, AP_BattMonitor, backend_var_info[13]), #endif @@ -404,6 +488,12 @@ const AP_Param::GroupInfo AP_BattMonitor::var_info[] = { // @Path: AP_BattMonitor_INA2xx.cpp // @Group: F_ // @Path: AP_BattMonitor_ESC.cpp + // @Group: F_ + // @Path: AP_BattMonitor_INA239.cpp + // @Group: F_ + // @Path: AP_BattMonitor_INA3221.cpp + // @Group: F_ + // @Path: AP_BattMonitor_AD7091R5.cpp AP_SUBGROUPVARPTR(drivers[14], "F_", 55, AP_BattMonitor, backend_var_info[14]), #endif @@ -428,6 +518,12 @@ const AP_Param::GroupInfo AP_BattMonitor::var_info[] = { // @Path: AP_BattMonitor_INA2xx.cpp // @Group: G_ // @Path: AP_BattMonitor_ESC.cpp + // @Group: G_ + // @Path: AP_BattMonitor_INA239.cpp + // @Group: G_ + // @Path: AP_BattMonitor_INA3221.cpp + // @Group: G_ + // @Path: AP_BattMonitor_AD7091R5.cpp AP_SUBGROUPVARPTR(drivers[15], "G_", 56, AP_BattMonitor, backend_var_info[15]), #endif