summaryrefslogtreecommitdiff
path: root/hid/patches/arduino-no-main.patch
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-07-15 10:27:20 +0300
committerMaxim Devaev <[email protected]>2022-07-15 10:27:20 +0300
commit95e9b7dd757d2f8d1a86cd72f3d69645314a1610 (patch)
treeee23b14d5df784bbc436b927df745c6c61e615d3 /hid/patches/arduino-no-main.patch
parent48f479286170f3cf79304d9b89dd166dec5af834 (diff)
renamed patch
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;