X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=decoders%2Fuart%2Fpd.py;h=a0b13268301611ee654a903d979f922a95d21e3b;hb=12851357e784b893e24880efc6cd22a0cbcc64ce;hp=57031d73040643565cd6a6d5766bbc9058d3f0af;hpb=c761524941fcb2237ceb65082e504e5e48e62a05;p=libsigrokdecode.git 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'