Skip to content

Commit d3091df

Browse files
committed
change porting API
1 parent fc358ea commit d3091df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cores/arduino/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ void initVariant() { }
2626

2727
#ifdef USE_TINYUSB
2828
// Called by main.cpp to initialize usb device typically with CDC device for Serial
29-
void Adafruit_TinyUSB_Device_init(uint8_t rhport) __attribute__((weak));
29+
void TinyUSB_Device_init(uint8_t rhport) __attribute__((weak));
3030
#endif
3131

3232
// Initialize C library
@@ -46,7 +46,7 @@ int main( void )
4646
delay(1);
4747

4848
#if defined(USE_TINYUSB)
49-
Adafruit_TinyUSB_Device_init(0);
49+
TinyUSB_Device_init(0);
5050
#elif defined(USBCON)
5151
USBDevice.init();
5252
USBDevice.attach();

0 commit comments

Comments
 (0)