aboutsummaryrefslogtreecommitdiff
path: root/cores
diff options
context:
space:
mode:
authorMartino Facchin <m.facchin@arduino.cc>2015-06-23 17:50:53 +0000
committerCristian Maglie <c.maglie@arduino.cc>2015-07-16 13:13:49 +0200
commitadb351882ca644590767f4079f164294b0c76e10 (patch)
tree5465c959377c23d7a54f578f83778013b02a0f0b /cores
parentd269ed2854354e7046c85b700a1633e78aae398f (diff)
remove setupUSB weak hook and replace with global constructors
thanks @matthijskooijman
Diffstat (limited to 'cores')
-rw-r--r--cores/arduino/main.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/cores/arduino/main.cpp b/cores/arduino/main.cpp
index f4346ec..434cd40 100644
--- a/cores/arduino/main.cpp
+++ b/cores/arduino/main.cpp
@@ -37,7 +37,6 @@ int main(void)
initVariant();
#if defined(USBCON)
- setupUSB();
USBDevice.attach();
#endif