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:
@ -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(
|
||||
|
Reference in New Issue
Block a user