]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/mxc6225xu/pd.py
spi: Fix start-/end-sample numbers.
[libsigrokdecode.git] / decoders / mxc6225xu / pd.py
index 39564a957f1e4d0ea4557c9316f82060d2eae704..3ae6f8e998663789c670eb1b41b2e4282264fcc9 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>
 ##
@@ -225,5 +225,5 @@ class Decoder(srd.Decoder):
             else:
                 pass # TODO?
         else:
-            raise Exception('Invalid state: %d' % self.state)
+            raise Exception('Invalid state: %s' % self.state)