summaryrefslogtreecommitdiff
path: root/hid/patches/arduino-no-main.patch
diff options
context:
space:
mode:
Diffstat (limited to 'hid/patches/arduino-no-main.patch')
-rw-r--r--hid/patches/arduino-no-main.patch24
1 files changed, 0 insertions, 24 deletions
diff --git a/hid/patches/arduino-no-main.patch b/hid/patches/arduino-no-main.patch
deleted file mode 100644
index ab10c9a8..00000000
--- a/hid/patches/arduino-no-main.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff --git a/cores/arduino/main.cpp b/cores/arduino/main.cpp
-index 434cd40..7aba76f 100644
---- a/cores/arduino/main.cpp
-+++ b/cores/arduino/main.cpp
-@@ -36,15 +36,15 @@ int main(void)
-
- initVariant();
-
--#if defined(USBCON)
-- USBDevice.attach();
--#endif
-+// #if defined(USBCON)
-+// USBDevice.attach();
-+// #endif
-
- setup();
-
- for (;;) {
- loop();
-- if (serialEventRun) serialEventRun();
-+ // if (serialEventRun) serialEventRun();
- }
-
- return 0;