summaryrefslogtreecommitdiff
path: root/hid/patches/arduino-no-main.patch
blob: 7dc1f81cc42cea799226a93a6f5c2366065fc305 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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;
 }
+*/