From 395cec8d03d150f31363be7ef2ec800f6775bff9 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 29 Oct 2020 14:01:42 +0100 Subject: Set DFATOOL_PLOT_LASYNC to plot ET+LA/ET+Timer sync data --- lib/loader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/loader.py b/lib/loader.py index 8aecbe0..0e1e8c9 100644 --- a/lib/loader.py +++ b/lib/loader.py @@ -1710,8 +1710,8 @@ class EnergyTraceWithLogicAnalyzer: state_sleep=self.state_duration, with_traces=self.with_traces ) # Uncomment to plot traces - if offline_index == 0: - # dp.plot() # <- plot traces with sync annotatons + if offline_index == 0 and os.getenv("DFATOOL_PLOT_LASYNC") is not None: + dp.plot() # <- plot traces with sync annotatons # dp.plot(names) # <- plot annotated traces (with state/transition names) pass energy_trace_new = energy_trace_new[4:] -- cgit v1.2.3