USB microcontrollers will call USB.attach() after init(), before setup()

This commit is contained in:
Zach Eveland 2011-08-18 19:59:35 -04:00
parent 7d575222af
commit 0d592a5fea
1 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,10 @@ int main(void)
{
init();
#if defined(USBCON)
USB.attach();
#endif
setup();
for (;;)