projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update manual pages to reference unfinished AVR32 port, add port status to the Future...
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
Class
/
Host
/
StillImage.h
diff --git
a/LUFA/Drivers/USB/Class/Host/StillImage.h
b/LUFA/Drivers/USB/Class/Host/StillImage.h
index
b6a2475
..
a210126
100644
(file)
--- a/
LUFA/Drivers/USB/Class/Host/StillImage.h
+++ b/
LUFA/Drivers/USB/Class/Host/StillImage.h
@@
-53,6
+53,11
@@
extern "C" {
\r
#endif
\r
\r
extern "C" {
\r
#endif
\r
\r
+ /* Preprocessor Checks: */
\r
+ #if !defined(__INCLUDE_FROM_SI_DRIVER)
\r
+ #error Do not include this file directly. Include LUFA/Drivers/Class/StillImage.h instead.
\r
+ #endif
\r
+
\r
/* Public Interface - May be used in end-application: */
\r
/* Macros: */
\r
/** Error code for some Still Image Host functions, indicating a logical (and not hardware) error */
\r
/* Public Interface - May be used in end-application: */
\r
/* Macros: */
\r
/** Error code for some Still Image Host functions, indicating a logical (and not hardware) error */
\r
@@
-287,7
+292,7
@@
#define COMMAND_DATA_TIMEOUT_MS 10000
\r
\r
/* Function Prototypes: */
\r
#define COMMAND_DATA_TIMEOUT_MS 10000
\r
\r
/* Function Prototypes: */
\r
- #if defined(INCLUDE_FROM_SI_CLASS_HOST_C)
\r
+ #if defined(
__
INCLUDE_FROM_SI_CLASS_HOST_C)
\r
static uint8_t DComp_SI_Host_NextSIInterface(void* const CurrentDescriptor) ATTR_NON_NULL_PTR_ARG(1);
\r
static uint8_t DComp_SI_Host_NextSIInterfaceEndpoint(void* const CurrentDescriptor) ATTR_NON_NULL_PTR_ARG(1);
\r
#endif
\r
static uint8_t DComp_SI_Host_NextSIInterface(void* const CurrentDescriptor) ATTR_NON_NULL_PTR_ARG(1);
\r
static uint8_t DComp_SI_Host_NextSIInterfaceEndpoint(void* const CurrentDescriptor) ATTR_NON_NULL_PTR_ARG(1);
\r
#endif
\r