mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
Tools: correct LogAnalyzer VCC test
This commit is contained in:
parent
4dae7a6f3d
commit
0168493d8a
@ -25,10 +25,8 @@ class TestVCC(Test):
|
||||
vccMin = logdata.channels["CURR"]["Vcc"].min()
|
||||
vccMax = logdata.channels["CURR"]["Vcc"].max()
|
||||
except KeyError as e:
|
||||
# Vcc was renamed to Volts at some stage...
|
||||
vccMin = logdata.channels["CURR"]["Volt"].min()
|
||||
vccMax = logdata.channels["CURR"]["Volt"].max()
|
||||
# apparently it also changed to mV:
|
||||
vccMin = logdata.channels["POWR"]["Vcc"].min()
|
||||
vccMax = logdata.channels["POWR"]["Vcc"].max()
|
||||
vccMin *= 1000
|
||||
vccMax *= 1000
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user