aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/USBAPI.h
diff options
context:
space:
mode:
authorZach Eveland <zeveland@blacklabel-development.com>2012-05-01 11:18:15 -0400
committerZach Eveland <zeveland@blacklabel-development.com>2012-05-01 11:18:15 -0400
commit757a77ab67edb9831fe11fe95c80cb08a695e4a1 (patch)
tree80aecc978ffc08d36c57cd8de546a74860a835b8 /cores/arduino/USBAPI.h
parentd755d0035d4e3a816c127fd8207722bfe6629eee (diff)
renamed Leonardo USB_ class to USBDevice_ to be unambiguous. renamed "USB" object to "USBDevice" to prevent conflict with USB Host library (thanks Massimo)
Diffstat (limited to 'cores/arduino/USBAPI.h')
-rw-r--r--cores/arduino/USBAPI.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cores/arduino/USBAPI.h b/cores/arduino/USBAPI.h
index f66cb16..1c21845 100644
--- a/cores/arduino/USBAPI.h
+++ b/cores/arduino/USBAPI.h
@@ -9,17 +9,17 @@
//================================================================================
// USB
-class USB_
+class USBDevice_
{
public:
- USB_();
+ USBDevice_();
bool configured();
void attach();
void detach(); // Serial port goes down too...
void poll();
};
-extern USB_ USB;
+extern USBDevice_ USBDevice;
//================================================================================
//================================================================================