diff options
Diffstat (limited to 'decoders/mx25lxx05d/mx25lxx05d.py')
-rw-r--r-- | decoders/mx25lxx05d/mx25lxx05d.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/mx25lxx05d/mx25lxx05d.py b/decoders/mx25lxx05d/mx25lxx05d.py index a5dab2e..1d41fd4 100644 --- a/decoders/mx25lxx05d/mx25lxx05d.py +++ b/decoders/mx25lxx05d/mx25lxx05d.py @@ -113,7 +113,7 @@ def decode_status_reg(data): ret += 'Device is %sin continuously program mode (CP mode).\n' % s # Bits[7:7]: SRWD (status register write disable) - s = '' if (data & (1 << 7)) else 'not ' + s = 'not ' if (data & (1 << 7)) else '' ret += 'Status register writes are %sallowed.\n' % s return ret |