]> sigrok.org Git - libsigrok.git/commitdiff
baylibre-acme: gpio: Don't set direction in get/set functions.
authorBartosz Golaszewski <redacted>
Wed, 16 Sep 2015 13:24:40 +0000 (15:24 +0200)
committerUwe Hermann <redacted>
Fri, 18 Sep 2015 17:52:39 +0000 (19:52 +0200)
GPIO direction should be set once right after exporting. There's no need
to reset it again - in fact it's a bug which causes the probe to be reset
every time the value is read/set and gives incorrect results when reading
the GPIO values with direction == 'in'.

Signed-off-by: Bartosz Golaszewski <redacted>

No differences found