diff --git a/right/src/buspal/bus_pal_hardware.c b/right/src/buspal/bus_pal_hardware.c index c591399..5671bc7 100644 --- a/right/src/buspal/bus_pal_hardware.c +++ b/right/src/buspal/bus_pal_hardware.c @@ -53,7 +53,6 @@ usb_status_t usb_device_callback(usb_device_handle handle, uint32_t event, void extern usb_status_t usb_device_msc_callback(class_handle_t handle, uint32_t event, void *param); -//! @brief Variable for i2c host configuration information static i2c_user_config_t s_i2cUserConfig = {.slaveAddress = 0x10, //!< The slave's 7-bit address .baudRate_kbps = 100 }; diff --git a/right/src/buspal/bus_pal_hardware.h b/right/src/buspal/bus_pal_hardware.h index 1e996d4..1d0a38d 100644 --- a/right/src/buspal/bus_pal_hardware.h +++ b/right/src/buspal/bus_pal_hardware.h @@ -21,13 +21,7 @@ status_t send_i2c_data(uint8_t *src, uint32_t writeLength); status_t receive_i2c_data(uint8_t *dest, uint32_t readLength); bool usb_hid_poll_for_activity(const peripheral_descriptor_t *self); status_t usb_hid_packet_init(const peripheral_descriptor_t *self); -status_t usb_hid_packet_read(const peripheral_descriptor_t *self, - uint8_t **packet, - uint32_t *packetLength, - packet_type_t packetType); -status_t usb_hid_packet_write(const peripheral_descriptor_t *self, - const uint8_t *packet, - uint32_t byteCount, - packet_type_t packetType); +status_t usb_hid_packet_read(const peripheral_descriptor_t *self, uint8_t **packet, uint32_t *packetLength, packet_type_t packetType); +status_t usb_hid_packet_write(const peripheral_descriptor_t *self, const uint8_t *packet, uint32_t byteCount,packet_type_t packetType); #endif