From c07f988609cf24ccdd94451eb73cc20c99f09795 Mon Sep 17 00:00:00 2001
From: Cristian Maglie <c.maglie@arduino.cc>
Date: Tue, 29 Sep 2015 16:46:11 +0200
Subject: [PUSB] Global functions PUSB_* are now methods of PluggableUSB class

---
 libraries/HID/HID.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'libraries/HID')

diff --git a/libraries/HID/HID.cpp b/libraries/HID/HID.cpp
index 24e6f5c..ec28424 100644
--- a/libraries/HID/HID.cpp
+++ b/libraries/HID/HID.cpp
@@ -143,7 +143,7 @@ HID_::HID_(void)
 	node.numInterfaces = 1,
 	node.endpointType = endpointType,
 
-	HID_ENDPOINT_INT = PUSB_AddFunction(&node, &HID_INTERFACE);
+	HID_ENDPOINT_INT = PluggableUSB.addFunction(&node, &HID_INTERFACE);
 }
 
 int HID_::begin(void)
-- 
cgit v1.2.3-18-g5258