USB microcontrollers will call USB.attach() after init(), before setup()
This commit is contained in:
parent
7d575222af
commit
0d592a5fea
|
@ -5,6 +5,10 @@ int main(void)
|
|||
{
|
||||
init();
|
||||
|
||||
#if defined(USBCON)
|
||||
USB.attach();
|
||||
#endif
|
||||
|
||||
setup();
|
||||
|
||||
for (;;)
|
||||
|
|
Loading…
Reference in New Issue