summaryrefslogtreecommitdiff
path: root/hid/patches/no-main.patch
blob: 5c64548063a4a0152045acde7fb2a299aced30b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff -u -r framework-arduino-avr/cores/arduino/main.cpp _framework-arduino-avr/cores/arduino/main.cpp
--- framework-arduino-avr/cores/arduino/main.cpp	2019-05-16 15:52:01.000000000 +0300
+++ _framework-arduino-avr/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;
 }
+*/