diff options
Diffstat (limited to 'decoders/onewire_link')
-rw-r--r-- | decoders/onewire_link/__init__.py | 1 | ||||
-rw-r--r-- | decoders/onewire_link/pd.py | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/decoders/onewire_link/__init__.py b/decoders/onewire_link/__init__.py index d153f93..6248916 100644 --- a/decoders/onewire_link/__init__.py +++ b/decoders/onewire_link/__init__.py @@ -66,4 +66,3 @@ read the decoder source code to understand them correctly. ''' from .pd import * - diff --git a/decoders/onewire_link/pd.py b/decoders/onewire_link/pd.py index c8d6cd7..2d4e089 100644 --- a/decoders/onewire_link/pd.py +++ b/decoders/onewire_link/pd.py @@ -185,7 +185,7 @@ class Decoder(srd.Decoder): if (time_min < 0.0000073) or (time_max > 0.000010): self.putm([1, ['The overdrive mode presence sample time interval ' + '(%2.1fus-%2.1fus) should be inside (7.3us, 10.0us).' - % (time_min*1000000, time_max*1000000)]]) + % (time_min * 1000000, time_max * 1000000)]]) def decode(self, ss, es, data): if not self.samplerate: |