[gcs] indicate voltage/cell if number of cells is specified (#2732)

Add a define for BAT_NB_CELLS in the BAT section of the airframe file to
activate the display
This commit is contained in:
Gautier Hattenberger
2021-05-20 14:16:34 +02:00
committed by GitHub
parent 030c5e71aa
commit 18945fffcc
4 changed files with 16 additions and 6 deletions
+1
View File
@@ -175,6 +175,7 @@
<section name="BAT">
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
<define name="MilliAmpereOfAdc(_adc)" value="(_adc-632)*4.14"/>
<define name="BAT_NB_CELLS" value="3"/>
</section>
<section name="MISC">