projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor documentation adjustments to the demos, projects and bootloaders to ensure...
[pub/USBasp.git]
/
Projects
/
MediaController
/
Descriptors.h
diff --git
a/Projects/MediaController/Descriptors.h
b/Projects/MediaController/Descriptors.h
index
74331c2
..
3844e31
100644
(file)
--- a/
Projects/MediaController/Descriptors.h
+++ b/
Projects/MediaController/Descriptors.h
@@
-1,13
+1,13
@@
/*
LUFA Library
/*
LUFA Library
- Copyright (C) Dean Camera, 201
1
.
+ Copyright (C) Dean Camera, 201
2
.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 201
1
Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 201
2
Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@
-49,7
+49,7
@@
typedef struct
{
USB_Descriptor_Configuration_Header_t Config;
typedef struct
{
USB_Descriptor_Configuration_Header_t Config;
-
+
// Media Controller HID Interface
USB_Descriptor_Interface_t HID_Interface;
USB_HID_Descriptor_HID_t HID_MediaControlHID;
// Media Controller HID Interface
USB_Descriptor_Interface_t HID_Interface;
USB_HID_Descriptor_HID_t HID_MediaControlHID;
@@
-57,11
+57,11
@@
} USB_Descriptor_Configuration_t;
/* Macros: */
} USB_Descriptor_Configuration_t;
/* Macros: */
- /** Endpoint
number
of the Media Control HID reporting IN endpoint. */
- #define MEDIACONTROL_HID_EP
NUM 1
+ /** Endpoint
address
of the Media Control HID reporting IN endpoint. */
+ #define MEDIACONTROL_HID_EP
ADDR (ENDPOINT_DIR_IN | 1)
- /** Size in bytes of the Media Control HID reporting IN
and OUT endpoints
. */
- #define MEDIACONTROL_HID_EPSIZE
8
+ /** Size in bytes of the Media Control HID reporting IN
endpoint
. */
+ #define MEDIACONTROL_HID_EPSIZE 8
/* Function Prototypes: */
uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue,
/* Function Prototypes: */
uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue,