summaryrefslogtreecommitdiff
path: root/hid/patches/arduino-no-main.patch
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2021-07-09 19:27:35 +0300
committerDevaev Maxim <[email protected]>2021-07-09 19:27:35 +0300
commit70141f0fbbded557daadf758d9d94589fca9f037 (patch)
tree5ea584a8c12ee0f0d3b3b20c4416c2855c3ebb57 /hid/patches/arduino-no-main.patch
parent63d953d22efb1e9b73fd235b64269b3406569cb8 (diff)
renamed patches
Diffstat (limited to 'hid/patches/arduino-no-main.patch')
-rw-r--r--hid/patches/arduino-no-main.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/hid/patches/arduino-no-main.patch b/hid/patches/arduino-no-main.patch
new file mode 100644
index 00000000..7dc1f81c
--- /dev/null
+++ b/hid/patches/arduino-no-main.patch
@@ -0,0 +1,17 @@
+diff -u -r a/cores/arduino/main.cpp b/cores/arduino/main.cpp
+--- a/cores/arduino/main.cpp 2019-05-16 15:52:01.000000000 +0300
++++ b/cores/arduino/main.cpp 2020-11-17 18:56:01.243474508 +0300
+@@ -30,6 +30,7 @@
+ void setupUSB() __attribute__((weak));
+ void setupUSB() { }
+
++/*
+ int main(void)
+ {
+ init();
+@@ -49,4 +50,5 @@
+
+ return 0;
+ }
++*/
+