summaryrefslogtreecommitdiff
path: root/ports/stm/supervisor/usb.c
diff options
context:
space:
mode:
authorjgillick <j_gillick@yahoo.com>2020-03-17 00:27:04 -0700
committerjgillick <j_gillick@yahoo.com>2020-03-17 00:27:04 -0700
commit07549b7fd955cb1368a58d12e82e005865305f26 (patch)
tree181cb5aac581f87c39d713855d46a77333d79d61 /ports/stm/supervisor/usb.c
parent8a93a81a2628a644b8bcc656b96881b6de35fa98 (diff)
Bring back trimmed spaces.
Diffstat (limited to 'ports/stm/supervisor/usb.c')
-rw-r--r--ports/stm/supervisor/usb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ports/stm/supervisor/usb.c b/ports/stm/supervisor/usb.c
index 86a51d750..b2c417b11 100644
--- a/ports/stm/supervisor/usb.c
+++ b/ports/stm/supervisor/usb.c
@@ -59,13 +59,13 @@ STATIC void init_usb_vbus_sense(void) {
}
void init_usb_hardware(void) {
- //TODO: if future chips overload this with options, move to peripherals management.
+ //TODO: if future chips overload this with options, move to peripherals management.
GPIO_InitTypeDef GPIO_InitStruct = {0};
/**USB_OTG_FS GPIO Configuration
PA10 ------> USB_OTG_FS_ID
PA11 ------> USB_OTG_FS_DM
- PA12 ------> USB_OTG_FS_DP
+ PA12 ------> USB_OTG_FS_DP
*/
__HAL_RCC_GPIOA_CLK_ENABLE();
@@ -105,10 +105,10 @@ void init_usb_hardware(void) {
HAL_GPIO_Init(GPIOG, &GPIO_InitStruct);
never_reset_pin_number(0, 8);
#endif
-
+
/* Peripheral clock enable */
__HAL_RCC_USB_OTG_FS_CLK_DISABLE();
__HAL_RCC_USB_OTG_FS_CLK_ENABLE();
init_usb_vbus_sense();
-}
+} \ No newline at end of file