From 0253642b2e334f63337bae31a004b51ff47de417 Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Wed, 10 Oct 2012 16:15:12 -0700 Subject: [PATCH] Added extern for usb_set_configuration() to eliminate compiler warning. TODO: Eventually, this should be just a callback, not the complete SET_CONFIGURATION implementation. --- firmware/usb_performance/usb.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/firmware/usb_performance/usb.h b/firmware/usb_performance/usb.h index 2f2104c5..7b9c9390 100644 --- a/firmware/usb_performance/usb.h +++ b/firmware/usb_performance/usb.h @@ -31,6 +31,11 @@ #define ATTR_ALIGNED(x) __attribute__ ((aligned(x))) #define ATTR_SECTION(x) __attribute__ ((section(x))) +extern bool usb_set_configuration( + usb_device_t* const device, + const uint_fast8_t configuration_number +); + void usb_peripheral_reset(); void usb_device_init(