diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2020-10-29 14:01:42 +0100 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2020-10-29 14:01:42 +0100 |
commit | 395cec8d03d150f31363be7ef2ec800f6775bff9 (patch) | |
tree | 2bc7b98fc56cdbaf164bbf0b688e5417735918f0 /lib | |
parent | 48e34b2dbde909cad61f618b2ea8a2ea286012af (diff) |
Set DFATOOL_PLOT_LASYNC to plot ET+LA/ET+Timer sync data
Diffstat (limited to 'lib')
-rw-r--r-- | lib/loader.py | 4 |
1 files 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:] |