Move USB Host Shield and Arduino core to lib/ (#13973)
This commit is contained in:
parent
cf5e40c251
commit
b16091659c
182 changed files with 6 additions and 6 deletions
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;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue