From 12851357e784b893e24880efc6cd22a0cbcc64ce Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Mon, 14 Apr 2014 22:14:39 +0200 Subject: All PDs: Bump api_version to 2. Older libsigrokdecode versions are no longer able to use the current versions of the PDs (various changes in syntax etc). --- decoders/uart/pd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'decoders/uart') diff --git a/decoders/uart/pd.py b/decoders/uart/pd.py index 57031d7..a0b1326 100644 --- a/decoders/uart/pd.py +++ b/decoders/uart/pd.py @@ -70,7 +70,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 + api_version = 2 id = 'uart' name = 'UART' longname = 'Universal Asynchronous Receiver/Transmitter' -- cgit v1.2.3-70-g09d2