Fix code style
This commit is contained in:
parent
c9e40ede2d
commit
1a53a2f882
@ -5482,7 +5482,7 @@ FAR struct usbhost_connection_s *stm32_otgfshost_initialize(int controller)
|
||||
/* Enable VDD33USB supply level detector */
|
||||
|
||||
regval |= STM32_PWR_CR3_USB33DEN;
|
||||
stm32_putreg( STM32_PWR_CR3, regval );
|
||||
stm32_putreg(STM32_PWR_CR3, regval);
|
||||
|
||||
while ((stm32_getreg(STM32_PWR_CR3) & STM32_PWR_CR3_USB33RDY) == 0)
|
||||
{
|
||||
|
@ -44,7 +44,6 @@
|
||||
#include <syslog.h>
|
||||
#include <errno.h>
|
||||
|
||||
|
||||
#define HAVE_USBHOST 1
|
||||
#define CONFIG_USBMONITOR 1
|
||||
|
||||
@ -57,7 +56,6 @@
|
||||
#include "stm32_usb.h"
|
||||
#endif
|
||||
|
||||
|
||||
#include "nucleo-h743zi.h"
|
||||
|
||||
#ifdef CONFIG_BUTTONS
|
||||
@ -236,9 +234,7 @@ int stm32_bringup(void)
|
||||
}
|
||||
#endif /* CONFIG_BUTTONS */
|
||||
|
||||
|
||||
#ifdef HAVE_USBHOST
|
||||
|
||||
/* Initialize USB host operation. stm32_usbhost_initialize() starts a thread
|
||||
* will monitor for USB connection and disconnection events.
|
||||
*/
|
||||
@ -264,7 +260,6 @@ int stm32_bringup(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef CONFIG_ADC
|
||||
/* Initialize ADC and register the ADC driver. */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user