]> sigrok.org Git - libsigrokdecode.git/commitdiff
mxc6225xu: Replace I2C with I²C
authorJoel Holdsworth <redacted>
Sat, 28 Dec 2013 08:17:02 +0000 (09:17 +0100)
committerJoel Holdsworth <redacted>
Sat, 28 Dec 2013 08:17:02 +0000 (09:17 +0100)
decoders/mxc6225xu/__init__.py
decoders/mxc6225xu/pd.py

index cd67941a2ed0882c0f0bf0d5d4b75388286817a1..783be199a5a30c42090089915bea9439bdf9f41f 100644 (file)
@@ -23,8 +23,8 @@ MEMSIC MXC6225XU protocol decoder.
 
 The MEMSIC MXC6225XU is a Digital Thermal Orientation Sensor (DTOS).
 
 
 The MEMSIC MXC6225XU is a Digital Thermal Orientation Sensor (DTOS).
 
-The chip's I2C interface supports standard mode and fast mode (max. 400kHz).
-Its I2C slave address is 0x2a.
+The chip's I²C interface supports standard mode and fast mode (max. 400kHz).
+Its I²C slave address is 0x2a.
 
 Details:
 TODO
 
 Details:
 TODO
index 8b119e8bb8670c104024680326bdb65e46070bfb..4a7e666f38ad673bd04c24957f022be43f2168c7 100644 (file)
@@ -164,12 +164,12 @@ class Decoder(srd.Decoder):
     def decode(self, ss, es, data):
         cmd, databyte = data
 
     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':
         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'
             if cmd != 'START':
                 return
             self.state = 'GET SLAVE ADDR'