]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/rtc8564/pd.py
All PDs: Minor whitespace and consistency fixes.
[libsigrokdecode.git] / decoders / rtc8564 / pd.py
index bb72fdc1f57a44ab8847d2101835ee42f3305b18..e95ff10334bc53c3669f2abe549689dd49a17e4a 100644 (file)
@@ -32,7 +32,7 @@ def reg_list():
     return tuple(l)
 
 class Decoder(srd.Decoder):
-    api_version = 1
+    api_version = 2
     id = 'rtc8564'
     name = 'RTC-8564'
     longname = 'Epson RTC-8564 JE/NB'
@@ -252,6 +252,3 @@ class Decoder(srd.Decoder):
                 self.state = 'IDLE'
             else:
                 pass # TODO?
-        else:
-            raise Exception('Invalid state: %s' % self.state)
-