From ea36c1988829b9f8e9385ff6e5e506e3cab46877 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sun, 23 Oct 2016 18:35:01 +0200 Subject: 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. --- 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 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')}, -- cgit v1.2.3-70-g09d2