Removed a bug in MyMainSAMD.cpp to support ATSAM without USB (#1532)

This commit is contained in:
ltigges
2022-08-21 17:31:40 +02:00
committed by GitHub
parent 253109d3ff
commit a7d692f518

View File

@@ -24,8 +24,8 @@ extern "C" void __libc_init_array(void);
int main(void)
{
init();
#if defined(USBCON)
__libc_init_array();
#if defined(USBCON)
USBDevice.init();
USBDevice.attach();
#endif