summaryrefslogtreecommitdiff
path: root/decoders
diff options
context:
space:
mode:
Diffstat (limited to 'decoders')
-rw-r--r--decoders/mxc6225xu/__init__.py4
-rw-r--r--decoders/mxc6225xu/pd.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/decoders/mxc6225xu/__init__.py b/decoders/mxc6225xu/__init__.py
index cd67941..783be19 100644
--- a/decoders/mxc6225xu/__init__.py
+++ b/decoders/mxc6225xu/__init__.py
@@ -23,8 +23,8 @@ MEMSIC MXC6225XU protocol decoder.
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
diff --git a/decoders/mxc6225xu/pd.py b/decoders/mxc6225xu/pd.py
index 8b119e8..4a7e666 100644
--- a/decoders/mxc6225xu/pd.py
+++ b/decoders/mxc6225xu/pd.py
@@ -164,12 +164,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'