circuits_gpio icon indicating copy to clipboard operation
circuits_gpio copied to clipboard

switching an gpio from input to output results in a lot off errors before it fails.

Open tcoopman opened this issue 7 years ago • 0 comments
trafficstars

As discussed on slack:

I've just set a gpio to output that I had earlier set as input and get this:


00:09:11.921 [error] [  551.918389] gpio-17 (sysfs): _gpiod_direction_output_raw: tried to set a GPIO tied to an IRQ as output

00:09:11.940 [error] [  551.940243] gpio-17 (sysfs): _gpiod_direction_output_raw: tried to set a GPIO tied to an IRQ as output

for some seconds before I get a matcherror:

** (MatchError) no match of right hand side value: {:error, :error_setting_direction}

tcoopman avatar May 10 '18 15:05 tcoopman