[riot-notifications] [RIOT-OS/RIOT] cpu/stm32/gpio: do not change pin state when switching to output (#8557)
notifications at github.com
Wed May 22 08:51:27 CEST 2019
PeterKietzmann commented on this pull request.
> @@ -87,6 +87,8 @@ int gpio_init(gpio_t pin, gpio_mode_t mode)
periph_clk_en(AHB1, (RCC_AHB1ENR_GPIOAEN << _port_num(pin)));
+ /* do not touch actual line state */
+ _port(pin)->ODR = _port(pin)->IDR;
@niziak are you still around? Can you give a quick feedback?
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications