summaryrefslogtreecommitdiff
path: root/decoder/test/i2c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2017-06-06 00:09:45 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2017-06-06 01:43:44 +0200
commitb59c504ecda1693417932878a8c92bab80f9635c (patch)
tree4d8b32914a123d4590bf16216a16845b2c2c5e9c /decoder/test/i2c
parent954e04d9f9f1d68644d7d8b4e5d13adfd05c1a3a (diff)
downloadsigrok-test-b59c504ecda1693417932878a8c92bab80f9635c.tar.gz
sigrok-test-b59c504ecda1693417932878a8c92bab80f9635c.zip
Add support for initial pin settings.
Adapt all tests that require it to use the old behaviour of assuming an initial pin value of 0 (or whatever was previously hardcoded in the PD). for now (this will likely see some changes later).
Diffstat (limited to 'decoder/test/i2c')
-rw-r--r--decoder/test/i2c/test.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/test/i2c/test.conf b/decoder/test/i2c/test.conf
index ed5535f..c9e7e5e 100644
--- a/decoder/test/i2c/test.conf
+++ b/decoder/test/i2c/test.conf
@@ -1,5 +1,5 @@
test rtc
- protocol-decoder i2c channel scl=0 channel sda=1
+ protocol-decoder i2c channel scl=0 channel sda=1 initial_pin scl=1 initial_pin 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