]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/ds1307/pd.py
Do some more I2C to I²C changes.
[libsigrokdecode.git] / decoders / ds1307 / pd.py
index bb904e7e4d17d0f9cddd91c744bca2a02d016039..01aaf6bc46a371e601d11f059978e6dd2e6f673f 100644 (file)
@@ -103,12 +103,12 @@ class Decoder(srd.Decoder):
     def decode(self, ss, es, data):
         cmd, databyte = data
 
-        # Store the start/end samples of this I2C packet.
+        # Store the start/end samples of this I²C packet.
         self.ss, self.es = ss, es
 
         # State machine.
         if self.state == 'IDLE':
-            # Wait for an I2C START condition.
+            # Wait for an I²C START condition.
             if cmd != 'START':
                 return
             self.state = 'GET SLAVE ADDR'