From c07f988609cf24ccdd94451eb73cc20c99f09795 Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Tue, 29 Sep 2015 16:46:11 +0200 Subject: [PUSB] Global functions PUSB_* are now methods of PluggableUSB class --- cores/arduino/USBCore.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cores/arduino/USBCore.cpp') diff --git a/cores/arduino/USBCore.cpp b/cores/arduino/USBCore.cpp index 733a178..f96ff27 100644 --- a/cores/arduino/USBCore.cpp +++ b/cores/arduino/USBCore.cpp @@ -367,7 +367,7 @@ bool ClassInterfaceRequest(USBSetup& setup) return CDC_Setup(setup); #ifdef PLUGGABLE_USB_ENABLED - return PUSB_Setup(setup, i); + return PluggableUSB.setup(setup, i); #endif return false; } @@ -445,7 +445,7 @@ static u8 SendInterfaces() CDC_GetInterface(&interfaces); #ifdef PLUGGABLE_USB_ENABLED - PUSB_GetInterface(&interfaces); + PluggableUSB.getInterface(&interfaces); #endif return interfaces; @@ -481,7 +481,7 @@ bool SendDescriptor(USBSetup& setup) InitControl(setup.wLength); #ifdef PLUGGABLE_USB_ENABLED - ret = PUSB_GetDescriptor(t); + ret = PluggableUSB.getDescriptor(t); if (ret != 0) { return (ret > 0 ? true : false); } -- cgit v1.2.3-18-g5258