arch/arm/src/stm32_otg[fs/hs]host.c should include stm32_gpio.h

This commit is contained in:
Gregory Nutt 2019-02-11 06:22:24 -06:00
parent 21ffe78767
commit 6b3078192e
2 changed files with 5 additions and 1 deletions

View File

@ -67,6 +67,7 @@
#include "up_arch.h"
#include "up_internal.h"
#include "stm32_gpio.h"
#include "stm32_usbhost.h"
#if defined(CONFIG_USBHOST) && defined(CONFIG_STM32_OTGFS)

View File

@ -67,6 +67,7 @@
#include "up_arch.h"
#include "up_internal.h"
#include "stm32_gpio.h"
#include "stm32_usbhost.h"
#if defined(CONFIG_USBHOST) && defined(CONFIG_STM32_OTGHS)
@ -5396,7 +5397,9 @@ FAR struct usbhost_connection_s *stm32_otghshost_initialize(int controller)
stm32_configgpio(GPIO_OTGHSFS_DM);
stm32_configgpio(GPIO_OTGHSFS_DP);
// stm32_configgpio(GPIO_OTGHSFS_ID); /* Only needed for OTG */
#if 0 /* Only needed for OTG */
stm32_configgpio(GPIO_OTGHSFS_ID);
#endif
/* SOF output pin configuration is configurable */