Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
21km43 committed Sep 26, 2024
1 parent f54331b commit ddfd21d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/arduino/ports/ch32/Adafruit_TinyUSB_ch32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ void TinyUSB_Port_InitDevice(uint8_t rhport) {

#if defined(CH32V30x)
RCC_OTGFSCLKConfig(usb_div);
#else !defined(CH32X035)
#elif !defined(CH32X035)
RCC_USBCLKConfig(usb_div);
#endif

Expand Down
1 change: 0 additions & 1 deletion src/portable/wch/ch32_usbfs_reg.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@
#include <ch32x035.h>
#define USBOTG_FS USBFSD
#define USBHD_IRQn USBFS_IRQn
#endif
#elif CFG_TUSB_MCU == OPT_MCU_CH32L10X
#include <ch32l103.h>
#define USBOTG_FS USBFSD
Expand Down

0 comments on commit ddfd21d

Please sign in to comment.