From 31f1a29687604b8da5a4a3c46a72f82fc783947b Mon Sep 17 00:00:00 2001 From: Joel Holdsworth Date: Sat, 28 Dec 2013 09:17:02 +0100 Subject: mxc6225xu: Replace I2C with I²C MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- decoders/mxc6225xu/__init__.py | 4 ++-- decoders/mxc6225xu/pd.py | 4 ++-- 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' -- cgit v1.2.3-70-g09d2