summaryrefslogtreecommitdiff
path: root/decoders/uart
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-01-15 20:41:46 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2012-01-15 20:48:11 +0100
commita2c2afd9357fab233a4f09531618faa81d54d4d9 (patch)
tree83adc417308ca8afd4181bd2262af89bf360bd53 /decoders/uart
parent64c29e28e0efa184319f7831b3eca18c7f73f7d0 (diff)
downloadlibsigrokdecode-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.py1
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'