From 0168493d8a5439a5694d03b65625be1bd41dfe5e Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Mon, 14 Nov 2016 09:18:01 +1100 Subject: [PATCH] Tools: correct LogAnalyzer VCC test --- Tools/LogAnalyzer/tests/TestVCC.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Tools/LogAnalyzer/tests/TestVCC.py b/Tools/LogAnalyzer/tests/TestVCC.py index 7028af32e4..e0fe5b5af5 100644 --- a/Tools/LogAnalyzer/tests/TestVCC.py +++ b/Tools/LogAnalyzer/tests/TestVCC.py @@ -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