summaryrefslogtreecommitdiff
path: root/decoders/uart
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2014-04-13 19:57:43 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2014-04-13 22:00:26 +0200
commit6a15597a7b3f901b566b7bfc8c484a14e0fb6a11 (patch)
treeee7241fa022b1b77f61affd373ff8baddb92d404 /decoders/uart
parent486858f7208207fb12a281640c5f6e9be4e4626f (diff)
downloadlibsigrokdecode-6a15597a7b3f901b566b7bfc8c484a14e0fb6a11.tar.gz
libsigrokdecode-6a15597a7b3f901b566b7bfc8c484a14e0fb6a11.zip
Rename 'probe' to 'channel' everywhere.
Variables of type 'struct srd_channel *' are consistently named 'pdch' to make them easily distinguishable from libsigrok's 'struct sr_channel *' variables that are consistently named 'ch'.
Diffstat (limited to 'decoders/uart')
-rw-r--r--decoders/uart/pd.py2
-rw-r--r--decoders/uart/test/test.conf2
2 files changed, 2 insertions, 2 deletions
diff --git a/decoders/uart/pd.py b/decoders/uart/pd.py
index 6119b8e..57031d7 100644
--- a/decoders/uart/pd.py
+++ b/decoders/uart/pd.py
@@ -78,7 +78,7 @@ class Decoder(srd.Decoder):
license = 'gplv2+'
inputs = ['logic']
outputs = ['uart']
- optional_probes = (
+ optional_channels = (
# Allow specifying only one of the signals, e.g. if only one data
# direction exists (or is relevant).
{'id': 'rx', 'name': 'RX', 'desc': 'UART receive line'},
diff --git a/decoders/uart/test/test.conf b/decoders/uart/test/test.conf
index b5f0f0d..f15b04b 100644
--- a/decoders/uart/test/test.conf
+++ b/decoders/uart/test/test.conf
@@ -1,5 +1,5 @@
test trekstor_ebr30_a
- protocol-decoder uart probe rx=1
+ protocol-decoder uart channel rx=1
input uart/trekstor_ebr30_a/trekstor_ebr30_a_uart.sr
output uart annotation class rx-data match trekstor_rx.output
output uart annotation class tx-data match trekstor_tx.output