From b3450bae68da32dbd2d0dd6174ef2bf0460906b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Fri, 14 Apr 2017 15:24:28 +0200 Subject: [PATCH] Remove the unused _peripheral_control_interface.pump field. --- right/src/buspal/bl_peripheral.h | 1 - right/src/buspal/bus_pal_hardware.c | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) 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,