Skip to content

Commit b860cc1

Browse files
committed
AP_BattMonitor: add missing subgroup links to correct metadata gen
1 parent 10a96f5 commit b860cc1

File tree

1 file changed

+96
-0
lines changed

1 file changed

+96
-0
lines changed

libraries/AP_BattMonitor/AP_BattMonitor.cpp

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@ const AP_Param::GroupInfo AP_BattMonitor::var_info[] = {
6969
// @Path: AP_BattMonitor_INA2xx.cpp
7070
// @Group: _
7171
// @Path: AP_BattMonitor_ESC.cpp
72+
// @Group: _
73+
// @Path: AP_BattMonitor_INA239.cpp
74+
// @Group: _
75+
// @Path: AP_BattMonitor_INA3221.cpp
76+
// @Group: _
77+
// @Path: AP_BattMonitor_AD7091R5.cpp
7278
AP_SUBGROUPVARPTR(drivers[0], "_", 41, AP_BattMonitor, backend_var_info[0]),
7379

7480
#if AP_BATT_MONITOR_MAX_INSTANCES > 1
@@ -92,6 +98,12 @@ const AP_Param::GroupInfo AP_BattMonitor::var_info[] = {
9298
// @Path: AP_BattMonitor_INA2xx.cpp
9399
// @Group: 2_
94100
// @Path: AP_BattMonitor_ESC.cpp
101+
// @Group: 2_
102+
// @Path: AP_BattMonitor_INA239.cpp
103+
// @Group: 2_
104+
// @Path: AP_BattMonitor_INA3221.cpp
105+
// @Group: 2_
106+
// @Path: AP_BattMonitor_AD7091R5.cpp
95107
AP_SUBGROUPVARPTR(drivers[1], "2_", 42, AP_BattMonitor, backend_var_info[1]),
96108
#endif
97109

@@ -116,6 +128,12 @@ const AP_Param::GroupInfo AP_BattMonitor::var_info[] = {
116128
// @Path: AP_BattMonitor_INA2xx.cpp
117129
// @Group: 3_
118130
// @Path: AP_BattMonitor_ESC.cpp
131+
// @Group: 3_
132+
// @Path: AP_BattMonitor_INA239.cpp
133+
// @Group: 3_
134+
// @Path: AP_BattMonitor_INA3221.cpp
135+
// @Group: 3_
136+
// @Path: AP_BattMonitor_AD7091R5.cpp
119137
AP_SUBGROUPVARPTR(drivers[2], "3_", 43, AP_BattMonitor, backend_var_info[2]),
120138
#endif
121139

@@ -140,6 +158,12 @@ const AP_Param::GroupInfo AP_BattMonitor::var_info[] = {
140158
// @Path: AP_BattMonitor_INA2xx.cpp
141159
// @Group: 4_
142160
// @Path: AP_BattMonitor_ESC.cpp
161+
// @Group: 4_
162+
// @Path: AP_BattMonitor_INA239.cpp
163+
// @Group: 4_
164+
// @Path: AP_BattMonitor_INA3221.cpp
165+
// @Group: 4_
166+
// @Path: AP_BattMonitor_AD7091R5.cpp
143167
AP_SUBGROUPVARPTR(drivers[3], "4_", 44, AP_BattMonitor, backend_var_info[3]),
144168
#endif
145169

@@ -164,6 +188,12 @@ const AP_Param::GroupInfo AP_BattMonitor::var_info[] = {
164188
// @Path: AP_BattMonitor_INA2xx.cpp
165189
// @Group: 5_
166190
// @Path: AP_BattMonitor_ESC.cpp
191+
// @Group: 5_
192+
// @Path: AP_BattMonitor_INA239.cpp
193+
// @Group: 5_
194+
// @Path: AP_BattMonitor_INA3221.cpp
195+
// @Group: 5_
196+
// @Path: AP_BattMonitor_AD7091R5.cpp
167197
AP_SUBGROUPVARPTR(drivers[4], "5_", 45, AP_BattMonitor, backend_var_info[4]),
168198
#endif
169199

@@ -188,6 +218,12 @@ const AP_Param::GroupInfo AP_BattMonitor::var_info[] = {
188218
// @Path: AP_BattMonitor_INA2xx.cpp
189219
// @Group: 6_
190220
// @Path: AP_BattMonitor_ESC.cpp
221+
// @Group: 6_
222+
// @Path: AP_BattMonitor_INA239.cpp
223+
// @Group: 6_
224+
// @Path: AP_BattMonitor_INA3221.cpp
225+
// @Group: 6_
226+
// @Path: AP_BattMonitor_AD7091R5.cpp
191227
AP_SUBGROUPVARPTR(drivers[5], "6_", 46, AP_BattMonitor, backend_var_info[5]),
192228
#endif
193229

@@ -212,6 +248,12 @@ const AP_Param::GroupInfo AP_BattMonitor::var_info[] = {
212248
// @Path: AP_BattMonitor_INA2xx.cpp
213249
// @Group: 7_
214250
// @Path: AP_BattMonitor_ESC.cpp
251+
// @Group: 7_
252+
// @Path: AP_BattMonitor_INA239.cpp
253+
// @Group: 7_
254+
// @Path: AP_BattMonitor_INA3221.cpp
255+
// @Group: 7_
256+
// @Path: AP_BattMonitor_AD7091R5.cpp
215257
AP_SUBGROUPVARPTR(drivers[6], "7_", 47, AP_BattMonitor, backend_var_info[6]),
216258
#endif
217259

@@ -236,6 +278,12 @@ const AP_Param::GroupInfo AP_BattMonitor::var_info[] = {
236278
// @Path: AP_BattMonitor_INA2xx.cpp
237279
// @Group: 8_
238280
// @Path: AP_BattMonitor_ESC.cpp
281+
// @Group: 8_
282+
// @Path: AP_BattMonitor_INA239.cpp
283+
// @Group: 8_
284+
// @Path: AP_BattMonitor_INA3221.cpp
285+
// @Group: 8_
286+
// @Path: AP_BattMonitor_AD7091R5.cpp
239287
AP_SUBGROUPVARPTR(drivers[7], "8_", 48, AP_BattMonitor, backend_var_info[7]),
240288
#endif
241289

@@ -260,6 +308,12 @@ const AP_Param::GroupInfo AP_BattMonitor::var_info[] = {
260308
// @Path: AP_BattMonitor_INA2xx.cpp
261309
// @Group: 9_
262310
// @Path: AP_BattMonitor_ESC.cpp
311+
// @Group: 9_
312+
// @Path: AP_BattMonitor_INA239.cpp
313+
// @Group: 9_
314+
// @Path: AP_BattMonitor_INA3221.cpp
315+
// @Group: 9_
316+
// @Path: AP_BattMonitor_AD7091R5.cpp
263317
AP_SUBGROUPVARPTR(drivers[8], "9_", 49, AP_BattMonitor, backend_var_info[8]),
264318
#endif
265319

@@ -284,6 +338,12 @@ const AP_Param::GroupInfo AP_BattMonitor::var_info[] = {
284338
// @Path: AP_BattMonitor_INA2xx.cpp
285339
// @Group: A_
286340
// @Path: AP_BattMonitor_ESC.cpp
341+
// @Group: A_
342+
// @Path: AP_BattMonitor_INA239.cpp
343+
// @Group: A_
344+
// @Path: AP_BattMonitor_INA3221.cpp
345+
// @Group: A_
346+
// @Path: AP_BattMonitor_AD7091R5.cpp
287347
AP_SUBGROUPVARPTR(drivers[9], "A_", 50, AP_BattMonitor, backend_var_info[9]),
288348
#endif
289349

@@ -308,6 +368,12 @@ const AP_Param::GroupInfo AP_BattMonitor::var_info[] = {
308368
// @Path: AP_BattMonitor_INA2xx.cpp
309369
// @Group: B_
310370
// @Path: AP_BattMonitor_ESC.cpp
371+
// @Group: B_
372+
// @Path: AP_BattMonitor_INA239.cpp
373+
// @Group: B_
374+
// @Path: AP_BattMonitor_INA3221.cpp
375+
// @Group: B_
376+
// @Path: AP_BattMonitor_AD7091R5.cpp
311377
AP_SUBGROUPVARPTR(drivers[10], "B_", 51, AP_BattMonitor, backend_var_info[10]),
312378
#endif
313379

@@ -332,6 +398,12 @@ const AP_Param::GroupInfo AP_BattMonitor::var_info[] = {
332398
// @Path: AP_BattMonitor_INA2xx.cpp
333399
// @Group: C_
334400
// @Path: AP_BattMonitor_ESC.cpp
401+
// @Group: C_
402+
// @Path: AP_BattMonitor_INA239.cpp
403+
// @Group: C_
404+
// @Path: AP_BattMonitor_INA3221.cpp
405+
// @Group: C_
406+
// @Path: AP_BattMonitor_AD7091R5.cpp
335407
AP_SUBGROUPVARPTR(drivers[11], "C_", 52, AP_BattMonitor, backend_var_info[11]),
336408
#endif
337409

@@ -356,6 +428,12 @@ const AP_Param::GroupInfo AP_BattMonitor::var_info[] = {
356428
// @Path: AP_BattMonitor_INA2xx.cpp
357429
// @Group: D_
358430
// @Path: AP_BattMonitor_ESC.cpp
431+
// @Group: D_
432+
// @Path: AP_BattMonitor_INA239.cpp
433+
// @Group: D_
434+
// @Path: AP_BattMonitor_INA3221.cpp
435+
// @Group: D_
436+
// @Path: AP_BattMonitor_AD7091R5.cpp
359437
AP_SUBGROUPVARPTR(drivers[12], "D_", 53, AP_BattMonitor, backend_var_info[12]),
360438
#endif
361439

@@ -380,6 +458,12 @@ const AP_Param::GroupInfo AP_BattMonitor::var_info[] = {
380458
// @Path: AP_BattMonitor_INA2xx.cpp
381459
// @Group: E_
382460
// @Path: AP_BattMonitor_ESC.cpp
461+
// @Group: E_
462+
// @Path: AP_BattMonitor_INA239.cpp
463+
// @Group: E_
464+
// @Path: AP_BattMonitor_INA3221.cpp
465+
// @Group: E_
466+
// @Path: AP_BattMonitor_AD7091R5.cpp
383467
AP_SUBGROUPVARPTR(drivers[13], "E_", 54, AP_BattMonitor, backend_var_info[13]),
384468
#endif
385469

@@ -404,6 +488,12 @@ const AP_Param::GroupInfo AP_BattMonitor::var_info[] = {
404488
// @Path: AP_BattMonitor_INA2xx.cpp
405489
// @Group: F_
406490
// @Path: AP_BattMonitor_ESC.cpp
491+
// @Group: F_
492+
// @Path: AP_BattMonitor_INA239.cpp
493+
// @Group: F_
494+
// @Path: AP_BattMonitor_INA3221.cpp
495+
// @Group: F_
496+
// @Path: AP_BattMonitor_AD7091R5.cpp
407497
AP_SUBGROUPVARPTR(drivers[14], "F_", 55, AP_BattMonitor, backend_var_info[14]),
408498
#endif
409499

@@ -428,6 +518,12 @@ const AP_Param::GroupInfo AP_BattMonitor::var_info[] = {
428518
// @Path: AP_BattMonitor_INA2xx.cpp
429519
// @Group: G_
430520
// @Path: AP_BattMonitor_ESC.cpp
521+
// @Group: G_
522+
// @Path: AP_BattMonitor_INA239.cpp
523+
// @Group: G_
524+
// @Path: AP_BattMonitor_INA3221.cpp
525+
// @Group: G_
526+
// @Path: AP_BattMonitor_AD7091R5.cpp
431527
AP_SUBGROUPVARPTR(drivers[15], "G_", 56, AP_BattMonitor, backend_var_info[15]),
432528
#endif
433529

0 commit comments

Comments
 (0)