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 84e21e8 commit 5ae850bCopy full SHA for 5ae850b
src/arduino/ports/ch32/Adafruit_TinyUSB_ch32.cpp
@@ -117,8 +117,6 @@ void TinyUSB_Port_InitDevice(uint8_t rhport) {
117
#define RCC_AHBPeriph_OTG_FS RCC_AHBPeriph_USBHD
118
#endif
119
120
-#if defined(CH32V20x) || defined(CH32V30x) || defined(CH32L10x)
121
-
122
uint8_t usb_div;
123
switch (SystemCoreClock) {
124
#if defined(CH32V20x) || defined(CH32V30x)
@@ -159,8 +157,6 @@ void TinyUSB_Port_InitDevice(uint8_t rhport) {
159
157
RCC_USBCLKConfig(usb_div);
160
158
161
162
-#endif
163
164
#if CFG_TUD_WCH_USBIP_FSDEV
165
RCC_APB1PeriphClockCmd(RCC_APB1Periph_USB, ENABLE);
166
0 commit comments