Skip to content
Commit ce591ac3 authored by Adam Podogrocki's avatar Adam Podogrocki Committed by Maureen Helm
Browse files

gpio/stm32: fix in setting alternative function



Pin number should be decremented by 8 if the pin
refers to the GPIOx_AFRH register.

Change-Id: I76e960f3b4adc3c2139ef5a88f15dbe98603228e
Signed-off-by: default avatarAdam Podogrocki <adam.podogrocki@rndity.com>
parent 2ac00121
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment