projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Get rid of the redundant ATTR_NEVER_INLINE macro which translated to the same as...
[pub/USBasp.git]
/
Demos
/
Device
/
ClassDriver
/
MassStorageKeyboard
/
MassStorageKeyboard.c
diff --git
a/Demos/Device/ClassDriver/MassStorageKeyboard/MassStorageKeyboard.c
b/Demos/Device/ClassDriver/MassStorageKeyboard/MassStorageKeyboard.c
index
2ed3f41
..
8ed0d3b
100644
(file)
--- a/
Demos/Device/ClassDriver/MassStorageKeyboard/MassStorageKeyboard.c
+++ b/
Demos/Device/ClassDriver/MassStorageKeyboard/MassStorageKeyboard.c
@@
-45,7
+45,7
@@
USB_ClassInfo_MS_Device_t Disk_MS_Interface =
{
.Config =
{
{
.Config =
{
- .InterfaceNumber =
0
,
+ .InterfaceNumber =
INTERFACE_ID_MassStorage
,
.DataINEndpoint =
{
.Address = MASS_STORAGE_IN_EPADDR,
.DataINEndpoint =
{
.Address = MASS_STORAGE_IN_EPADDR,
@@
-73,7
+73,7
@@
USB_ClassInfo_HID_Device_t Keyboard_HID_Interface =
{
.Config =
{
{
.Config =
{
- .InterfaceNumber =
1
,
+ .InterfaceNumber =
INTERFACE_ID_Keyboard
,
.ReportINEndpoint =
{
.Address = KEYBOARD_EPADDR,
.ReportINEndpoint =
{
.Address = KEYBOARD_EPADDR,