Skip to content
Commit 794a64a9 authored by Pascal Speck's avatar Pascal Speck Committed by Gregory Nutt
Browse files

hen configuring a GPIO via stm32_configgpio() the function will first set the...

hen configuring a GPIO via stm32_configgpio() the function will first set the mode to output and then set the initial state of the gpio later on.  If you have an application with an externaly pulled-up pin, this would lead to a glitch on the line that may be dangerous in some applications (e.G. Reset Line for other chips, etc).  This changes sets the output state before configuring the pin as an output.
parent d3b8c03a
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