summaryrefslogtreecommitdiff
path: root/decoders/uart/uart.py
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/uart/uart.py')
-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'