From: Joel Holdsworth Date: Sat, 28 Dec 2013 08:02:34 +0000 (+0100) Subject: i2s: Replace I2S with I²S X-Git-Tag: libsigrokdecode-0.3.0~174 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=270a59d81fd0d18e6dc8930829d61e0bf64f0e8d;p=libsigrokdecode.git i2s: Replace I2S with I²S --- diff --git a/decoders/i2s/__init__.py b/decoders/i2s/__init__.py index 84abe96..e59ca96 100644 --- a/decoders/i2s/__init__.py +++ b/decoders/i2s/__init__.py @@ -19,7 +19,7 @@ ## ''' -I2S protocol decoder. +I²S protocol decoder. Documentation: http://www.nxp.com/acrobat_download/various/I2SBUS.pdf diff --git a/decoders/i2s/pd.py b/decoders/i2s/pd.py index ea147de..705e4b9 100644 --- a/decoders/i2s/pd.py +++ b/decoders/i2s/pd.py @@ -18,7 +18,7 @@ ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ## -# I2S protocol decoder +# I²S protocol decoder import sigrokdecode as srd @@ -38,7 +38,7 @@ Packet: class Decoder(srd.Decoder): api_version = 1 id = 'i2s' - name = 'I2S' + name = 'I²S' longname = 'Integrated Interchip Sound' desc = 'Serial bus for connecting digital audio devices.' license = 'gplv2+' @@ -93,7 +93,7 @@ class Decoder(srd.Decoder): self.samplerate / (self.start_sample - self.first_sample)) - return 'I2S: %d %d-bit samples received at %sHz' % \ + return 'I³S: %d %d-bit samples received at %sHz' % \ (self.samplesreceived, self.wordlength, samplerate) def decode(self, ss, es, data):