Rename type.

This commit is contained in:
László Monda
2016-03-03 10:56:52 +01:00
parent 39f286ce39
commit 5bcf07b1a6
2 changed files with 3 additions and 4 deletions

View File

@@ -17,7 +17,7 @@
#include "usb_descriptor_strings.h"
static usb_status_t UsbDeviceCallback(usb_device_handle handle, uint32_t event, void *param);
usb_device_composite_struct_t UsbCompositeDevice;
usb_composite_device_t UsbCompositeDevice;
usb_device_class_config_struct_t UsbDeviceCompositeClassConfig[USB_COMPOSITE_INTERFACE_COUNT] = {
{UsbKeyboardCallback, (class_handle_t)NULL, &UsbKeyboardClass},
@@ -127,4 +127,3 @@ void USB_DeviceApplicationInit(void)
USB_DeviceRun(UsbCompositeDevice.deviceHandle);
}

View File

@@ -20,11 +20,11 @@
uint8_t attach;
uint8_t currentConfiguration;
uint8_t currentInterfaceAlternateSetting[USB_COMPOSITE_INTERFACE_COUNT];
} usb_device_composite_struct_t;
} usb_composite_device_t;
// Variables:
extern usb_device_composite_struct_t UsbCompositeDevice;
extern usb_composite_device_t UsbCompositeDevice;
//Functions: