diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2014-07-15 22:49:43 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2014-07-15 22:49:43 +0200 |
commit | 35b380b1156434b73d4a976c68f5ab3604c8510a (patch) | |
tree | 75a60785c37d242eee5886af138dba5ef0f177c1 /decoders/midi | |
parent | 22fc7ace72f3165c98208a8f544156e04a709639 (diff) | |
download | libsigrokdecode-35b380b1156434b73d4a976c68f5ab3604c8510a.tar.gz libsigrokdecode-35b380b1156434b73d4a976c68f5ab3604c8510a.zip |
All PDs: Minor whitespace and consistency fixes.
- No newlines at the end of files.
- No trailing ';' characters.
- Comparison with None: Use 'is None' or 'is not None'.
- Comparison with True/False: Use 'if cond:' or 'if not cond:'.
- Various minor whitespace fixes.
Diffstat (limited to 'decoders/midi')
-rw-r--r-- | decoders/midi/__init__.py | 1 | ||||
-rw-r--r-- | decoders/midi/lists.py | 3 | ||||
-rw-r--r-- | decoders/midi/pd.py | 1 |
3 files changed, 1 insertions, 4 deletions
diff --git a/decoders/midi/__init__.py b/decoders/midi/__init__.py index a453346..19be493 100644 --- a/decoders/midi/__init__.py +++ b/decoders/midi/__init__.py @@ -27,4 +27,3 @@ baud rate of 31250 baud (+/- 1%) and 8n1 settings. Bytes are sent LSB-first. ''' from .pd import * - diff --git a/decoders/midi/lists.py b/decoders/midi/lists.py index bc0f9b8..c72f5c9 100644 --- a/decoders/midi/lists.py +++ b/decoders/midi/lists.py @@ -267,7 +267,7 @@ sysex_manufacturer_ids = { (0x00, 0x00, 0x5c): 'AT&T Bell Labs', (0x00, 0x00, 0x5e): 'Symetrix', (0x00, 0x00, 0x5f): 'MIDI the World', - + (0x00, 0x00, 0x60): 'Desper Products', (0x00, 0x00, 0x61): 'Micros\'N MIDI', (0x00, 0x00, 0x62): 'Accordians Intl', @@ -467,4 +467,3 @@ control_functions = { 0x7e: 'poly mode off', # mono mode on, all notes off 0x7f: 'poly mode on', # mono mode off, all notes off } - diff --git a/decoders/midi/pd.py b/decoders/midi/pd.py index 0717dbc..68a8369 100644 --- a/decoders/midi/pd.py +++ b/decoders/midi/pd.py @@ -206,4 +206,3 @@ class Decoder(srd.Decoder): self.handle_syscommon_msg(pdata) elif self.state == 'HANDLE SYSREALTIME MSG': self.handle_sysrealtime_msg(pdata) - |