mraa.c: do not check return value of mraa_gpio_dir when used on muxes
authorBrendan Le Foll <brendan.le.foll@intel.com>
Mon, 15 Dec 2014 11:47:21 +0000 (11:47 +0000)
committerBrendan Le Foll <brendan.le.foll@intel.com>
Mon, 15 Dec 2014 11:50:54 +0000 (11:50 +0000)
commit71118af2335eda8fcb196d476b6b5176600063bc
tree90b46badf37c9e9f97ec154e6f46ad9873076425
parentf7256f1d5bafd82b0dbea8032f7a98ac9198bdae
mraa.c: do not check return value of mraa_gpio_dir when used on muxes

Doing so breaks galileo gen2 (gpio2) and others. Failing early is rather
pointless in any case so we may as well attempt the write, muxes do not
neccesarily have directions that work

Fixes #68

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
src/mraa.c