diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2014-04-13 19:57:43 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2014-04-13 22:00:26 +0200 |
commit | 6a15597a7b3f901b566b7bfc8c484a14e0fb6a11 (patch) | |
tree | ee7241fa022b1b77f61affd373ff8baddb92d404 /decoders/onewire_link | |
parent | 486858f7208207fb12a281640c5f6e9be4e4626f (diff) | |
download | libsigrokdecode-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/onewire_link')
-rw-r--r-- | decoders/onewire_link/__init__.py | 2 | ||||
-rw-r--r-- | decoders/onewire_link/pd.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/decoders/onewire_link/__init__.py b/decoders/onewire_link/__init__.py index 5bd6c55..d153f93 100644 --- a/decoders/onewire_link/__init__.py +++ b/decoders/onewire_link/__init__.py @@ -37,7 +37,7 @@ overdrive communication speed. The following minimal values should be used: - overdrive available: 2MHz minimum, 5MHz suggested - overdrive not available: 400kHz minimum, 1MHz suggested -Probes: +Channels: 1-Wire requires a single signal, but some master implementations might have a separate signal used to deliver power to the bus during temperature conversion as an example. This power signal is currently not used. diff --git a/decoders/onewire_link/pd.py b/decoders/onewire_link/pd.py index ceb5da2..aa1cb2e 100644 --- a/decoders/onewire_link/pd.py +++ b/decoders/onewire_link/pd.py @@ -29,10 +29,10 @@ class Decoder(srd.Decoder): license = 'gplv2+' inputs = ['logic'] outputs = ['onewire_link'] - probes = ( + channels = ( {'id': 'owr', 'name': 'OWR', 'desc': '1-Wire signal line'}, ) - optional_probes = ( + optional_channels = ( {'id': 'pwr', 'name': 'PWR', 'desc': '1-Wire power supply pin'}, ) options = ( |