Fix code style

This commit is contained in:
KernelGuruMeditation 2020-11-20 19:45:23 +00:00 committed by Brennan Ashton
parent c9e40ede2d
commit 1a53a2f882
2 changed files with 1 additions and 6 deletions

View File

@ -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)
{

View File

@ -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. */