From 1e5305a2a4614c18a1d3ad5fab687c430dc7ccb8 Mon Sep 17 00:00:00 2001 From: Simon Thornington Date: Sat, 10 Apr 2021 18:58:42 -0400 Subject: [PATCH] trivial change --- litescope/software/driver/analyzer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litescope/software/driver/analyzer.py b/litescope/software/driver/analyzer.py index f92f468..bd7c771 100644 --- a/litescope/software/driver/analyzer.py +++ b/litescope/software/driver/analyzer.py @@ -94,7 +94,7 @@ class LiteScopeAnalyzerDriver: v <<= 4 if mx is not None else 1 m <<= 4 if mx is not None else 1 if c != "x": - v |= int(c, 16 if mx is not None else 2) + v |= int(c, 16 if mx is not None else 2 ) m |= 0xf if mx is not None else 0b1 value |= getattr(self, k + "_o")*v mask |= getattr(self, k + "_m") & (getattr(self, k + "_o")*m)