From 6a15597a7b3f901b566b7bfc8c484a14e0fb6a11 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sun, 13 Apr 2014 19:57:43 +0200 Subject: 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'. --- decoders/uart/pd.py | 2 +- decoders/uart/test/test.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'decoders/uart') 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 -- cgit v1.2.3-70-g09d2