Remove the unused _peripheral_control_interface.pump field.
This commit is contained in:
@@ -36,7 +36,6 @@ typedef struct _peripheral_control_interface
|
||||
{
|
||||
status_t (*init)(const peripheral_descriptor_t *self, serial_byte_receive_func_t function);
|
||||
void (*shutdown)(const peripheral_descriptor_t *self);
|
||||
void (*pump)(const peripheral_descriptor_t *self);
|
||||
} peripheral_control_interface_t;
|
||||
|
||||
//! @brief Peripheral abstract byte interface.
|
||||
|
||||
@@ -20,8 +20,7 @@ static void init_i2c(uint32_t instance);
|
||||
static bool s_dHidActivity = false;
|
||||
|
||||
const peripheral_control_interface_t g_usbHidControlInterface = {.init = usb_device_full_init,
|
||||
.shutdown = usb_device_full_shutdown,
|
||||
.pump = usb_msc_pump };
|
||||
.shutdown = usb_device_full_shutdown};
|
||||
|
||||
const peripheral_packet_interface_t g_usbHidPacketInterface = {.init = usb_hid_packet_init,
|
||||
.readPacket = usb_hid_packet_read,
|
||||
|
||||
Reference in New Issue
Block a user