We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0143f9 commit f9f4340Copy full SHA for f9f4340
cores/arduino/stm32/usb/usbd_if.c
@@ -16,7 +16,7 @@
16
* @retval None
17
*/
18
19
-void USBD_reenumerate(void)
+WEAK void USBD_reenumerate(void)
20
{
21
#ifndef USBD_REENUM_DISABLED
22
/* Re-enumerate the USB */
variants/MALYANM200_F103CB/variant.cpp
@@ -95,6 +95,16 @@ void initVariant()
95
digitalWrite(PB9, 1);
96
}
97
98
+void USBD_reenumerate(void)
99
+{
100
+ pinMode(PB9, OUTPUT);
101
+ digitalWrite(PB9, HIGH);
102
+ delay(10);
103
+ digitalWrite(PB9, LOW);
104
105
106
+}
107
+
108
/**
109
* @brief System Clock Configuration
110
* The system Clock is configured as follow :
0 commit comments