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:
Adam Podogrocki <adam.podogrocki@rndity.com>
Loading
Please sign in to comment