mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-31 10:01:53 +08:00
multihid firmware
This commit is contained in:
17
hid/patches/no-main.patch
Normal file
17
hid/patches/no-main.patch
Normal file
@@ -0,0 +1,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;
|
||||
}
|
||||
+*/
|
||||
|
||||
Reference in New Issue
Block a user