Added extern for usb_set_configuration() to eliminate compiler warning. TODO: Eventually, this should be just a callback, not the complete SET_CONFIGURATION implementation.

This commit is contained in:
Jared Boone
2012-10-10 16:15:12 -07:00
parent 5dbbae6d9c
commit 0253642b2e

View File

@ -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(