Branch to BusPal vs keyboard function depending on Wormhole->enumerationMode

This commit is contained in:
László Monda
2017-05-01 19:26:38 +02:00
parent 8675effabc
commit d1d847ff57
9 changed files with 78 additions and 67 deletions
+2
View File
@@ -3,6 +3,7 @@
#include "fsl_i2c.h"
#include "bl_peripheral.h"
#include "composite.h"
typedef struct _i2c_user_config {
uint8_t slaveAddress;
@@ -22,5 +23,6 @@ status_t receive_i2c_data(uint8_t *dest, uint32_t readLength);
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);
extern usb_device_composite_struct_t BuspalCompositeUsbDevice;
#endif