diff --git a/right/src/buspal/bl_peripheral.h b/right/src/buspal/bl_peripheral.h index c418a5a..4e27791 100644 --- a/right/src/buspal/bl_peripheral.h +++ b/right/src/buspal/bl_peripheral.h @@ -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. diff --git a/right/src/buspal/bus_pal_hardware.c b/right/src/buspal/bus_pal_hardware.c index ba78ccd..2ed8291 100644 --- a/right/src/buspal/bus_pal_hardware.c +++ b/right/src/buspal/bus_pal_hardware.c @@ -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,