Make less use of linked files and folders for better long-term maintainability by moving the source files under the newly created src directory and only linking that directory to the workspace.

This commit is contained in:
László Monda
2016-09-26 08:45:59 +02:00
parent 3f7c911f33
commit 11401a6448
52 changed files with 15 additions and 211 deletions

View File

@@ -0,0 +1,33 @@
#ifndef __USB_COMPOSITE_DEVICE_H__
#define __USB_COMPOSITE_DEVICE_H__
// Includes:
#include "usb_descriptor_configuration.h"
// Macros:
#define CONTROLLER_ID kUSB_ControllerKhci0
#define USB_DEVICE_INTERRUPT_PRIORITY 3
// Typedefs:
typedef struct {
usb_device_handle deviceHandle;
class_handle_t mouseHandle;
class_handle_t keyboardHandle;
class_handle_t genericHidHandle;
uint8_t attach;
uint8_t currentConfiguration;
uint8_t currentInterfaceAlternateSetting[USB_DEVICE_CONFIG_HID];
} usb_composite_device_t;
// Variables:
extern usb_composite_device_t UsbCompositeDevice;
//Functions:
extern void InitUsb();
#endif