Move USB Host Shield and Arduino core to lib/
(#13973)
This commit is contained in:
20
lib/usbhost/arduino-1.0.1/cores/arduino/main.cpp
Normal file
20
lib/usbhost/arduino-1.0.1/cores/arduino/main.cpp
Normal file
@ -0,0 +1,20 @@
|
||||
#include <Arduino.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
init();
|
||||
|
||||
#if defined(USBCON)
|
||||
USBDevice.attach();
|
||||
#endif
|
||||
|
||||
setup();
|
||||
|
||||
for (;;) {
|
||||
loop();
|
||||
if (serialEventRun) serialEventRun();
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user