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]
/
Demos
/
Host
/
LowLevel
/
AndroidAccessoryHost
/
ConfigDescriptor.h
diff --git
a/Demos/Host/LowLevel/AndroidAccessoryHost/ConfigDescriptor.h
b/Demos/Host/LowLevel/AndroidAccessoryHost/ConfigDescriptor.h
index
7be85f4
..
53b7280
100644
(file)
--- a/
Demos/Host/LowLevel/AndroidAccessoryHost/ConfigDescriptor.h
+++ b/
Demos/Host/LowLevel/AndroidAccessoryHost/ConfigDescriptor.h
@@
-7,7
+7,7
@@
*/
/*
*/
/*
- 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
@@
-40,8
+40,11
@@
#include <LUFA/Drivers/USB/USB.h>
/* Macros: */
#include <LUFA/Drivers/USB/USB.h>
/* Macros: */
- #define ANDROID_DATA_IN_PIPE 1
- #define ANDROID_DATA_OUT_PIPE 2
+ /** Pipe address of the Android Accessory data IN pipe. */
+ #define ANDROID_DATA_IN_PIPE (PIPE_DIR_IN | 1)
+
+ /** Pipe address of the Android Accessory data OUT pipe. */
+ #define ANDROID_DATA_OUT_PIPE (PIPE_DIR_OUT | 2)
/* Enums: */
/** Enum for the possible return codes of the \ref ProcessConfigurationDescriptor() function. */
/* Enums: */
/** Enum for the possible return codes of the \ref ProcessConfigurationDescriptor() function. */