diff options
Diffstat (limited to 'cores/arduino/main.cpp')
-rwxr-xr-x | cores/arduino/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cores/arduino/main.cpp b/cores/arduino/main.cpp index 1c2ea9a..097f5ed 100755 --- a/cores/arduino/main.cpp +++ b/cores/arduino/main.cpp @@ -5,6 +5,10 @@ int main(void) { init(); +#if defined(USBCON) + USB.attach(); +#endif + setup(); for (;;) { |