]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/rtc8564/pd.py
uart: Use T for stop bit, P for parity bit.
[libsigrokdecode.git] / decoders / rtc8564 / pd.py
index bf5d4b6c731bce2afc7cb3b58df858fd32401a9d..16de6b6ae5e59db4fa3055bc3416d1929cfd48b4 100644 (file)
@@ -1,5 +1,5 @@
 ##
-## This file is part of the sigrok project.
+## This file is part of the libsigrokdecode project.
 ##
 ## Copyright (C) 2012 Uwe Hermann <uwe@hermann-uwe.de>
 ##
@@ -212,5 +212,5 @@ class Decoder(srd.Decoder):
             else:
                 pass # TODO?
         else:
-            raise Exception('Invalid state: %d' % self.state)
+            raise Exception('Invalid state: %s' % self.state)