Skip to content
Commit fa2c7a69 authored by Alan Carvalho de Assis's avatar Alan Carvalho de Assis Committed by Gregory Nutt
Browse files

stm32f103-minimum: Fix a small BUG when reading from output pin. We need a...

stm32f103-minimum: Fix a small BUG when reading from output pin.  We need a different read_ops to read from output pin. This patch fixes the issue:

nsh> gpio -o 0 /dev/gpout1
Driver: /dev/gpout1
  Output pin:    Value=1
  Writing:       Value=0
  Verify:        Value=1

Now:

nsh> gpio -o 0 /dev/gpout1
Driver: /dev/gpout1
  Output pin:    Value=1
  Writing:       Value=0
  Verify:        Value=0
parent db80696d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment