From: Uwe Hermann Date: Sun, 23 Oct 2016 16:35:01 +0000 (+0200) Subject: uart: Default to hex format datavalue annotations. X-Git-Tag: libsigrokdecode-0.5.0~133 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=ea36c1988829b9f8e9385ff6e5e506e3cab46877;p=libsigrokdecode.git uart: Default to hex format datavalue annotations. This is in almost all cases what the user will want, only rarely ASCII (the old default) will be the more natural fit. --- diff --git a/decoders/uart/pd.py b/decoders/uart/pd.py index 6bba653..0fa0e7f 100644 --- a/decoders/uart/pd.py +++ b/decoders/uart/pd.py @@ -102,7 +102,7 @@ class Decoder(srd.Decoder): 'values': (0.0, 0.5, 1.0, 1.5)}, {'id': 'bit_order', 'desc': 'Bit order', 'default': 'lsb-first', 'values': ('lsb-first', 'msb-first')}, - {'id': 'format', 'desc': 'Data format', 'default': 'ascii', + {'id': 'format', 'desc': 'Data format', 'default': 'hex', 'values': ('ascii', 'dec', 'hex', 'oct', 'bin')}, {'id': 'invert_rx', 'desc': 'Invert RX?', 'default': 'no', 'values': ('yes', 'no')},