diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2012-01-15 20:41:46 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2012-01-15 20:48:11 +0100 |
commit | a2c2afd9357fab233a4f09531618faa81d54d4d9 (patch) | |
tree | 83adc417308ca8afd4181bd2262af89bf360bd53 /decoders/uart | |
parent | 64c29e28e0efa184319f7831b3eca18c7f73f7d0 (diff) | |
download | libsigrokdecode-a2c2afd9357fab233a4f09531618faa81d54d4d9.tar.gz libsigrokdecode-a2c2afd9357fab233a4f09531618faa81d54d4d9.zip |
srd: Add 'api_version = 1' to all PDs.
Diffstat (limited to 'decoders/uart')
-rw-r--r-- | decoders/uart/uart.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/decoders/uart/uart.py b/decoders/uart/uart.py index 4752c7d..56bfcfb 100644 --- a/decoders/uart/uart.py +++ b/decoders/uart/uart.py @@ -184,6 +184,7 @@ def parity_ok(parity_type, parity_bit, data, num_data_bits): raise Exception('Invalid parity type: %d' % parity_type) class Decoder(srd.Decoder): + api_version = 1 id = 'uart' name = 'UART' longname = 'Universal Asynchronous Receiver/Transmitter' |