summaryrefslogtreecommitdiff
path: root/decoders/i2c/test
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/i2c/test
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/i2c/test')
-rw-r--r--decoders/i2c/test/test.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/decoders/i2c/test/test.conf b/decoders/i2c/test/test.conf
index 880f360..bd1068b 100644
--- a/decoders/i2c/test/test.conf
+++ b/decoders/i2c/test/test.conf
@@ -1,5 +1,5 @@
test rtc
- protocol-decoder i2c probe scl=0 probe sda=1
+ protocol-decoder i2c channel scl=0 channel sda=1
input i2c/rtc_dallas_ds1307/rtc_ds1307_200khz.sr
output i2c annotation class data-read match rtc_ds1307_200khz_data_read.output
output i2c annotation class data-write match rtc_ds1307_200khz_data_write.output
@@ -7,13 +7,13 @@ test rtc
output i2c python match rtc_ds1307_200khz.python
test motherboard
- protocol-decoder i2c probe scl=0 probe sda=3
+ protocol-decoder i2c channel scl=0 channel sda=3
input i2c/gigabyte_6vle-vxl_i2c/gigabyte_6vle_vxl_i2c.sr
output i2c annotation match gigabyte_6vle_vxl_i2c.output
output i2c python match gigabyte_6vle_vxl_i2c.python
test xfp
- protocol-decoder i2c probe scl=0 probe sda=1
+ protocol-decoder i2c channel scl=0 channel sda=1
input i2c/network-transceivers/xfp.sr
output i2c binary class data-read match xfp_data_read.binary
output i2c binary class data-write match xfp_data_write.binary