projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move DHCP negotiation timer into the DHCP connection application state structure...
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
Class
/
Host
/
MassStorage.h
diff --git
a/LUFA/Drivers/USB/Class/Host/MassStorage.h
b/LUFA/Drivers/USB/Class/Host/MassStorage.h
index
6dda5c0
..
502e902
100644
(file)
--- a/
LUFA/Drivers/USB/Class/Host/MassStorage.h
+++ b/
LUFA/Drivers/USB/Class/Host/MassStorage.h
@@
-53,6
+53,11
@@
extern "C" {
\r
#endif
\r
\r
extern "C" {
\r
#endif
\r
\r
+ /* Preprocessor Checks: */
\r
+ #if !defined(__INCLUDE_FROM_MS_DRIVER)
\r
+ #error Do not include this file directly. Include LUFA/Drivers/Class/MassStorage.h instead.
\r
+ #endif
\r
+
\r
/* Public Interface - May be used in end-application: */
\r
/* Macros: */
\r
/** Error code for some Mass Storage 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 Mass Storage Host functions, indicating a logical (and not hardware) error */
\r
@@
-296,7
+301,7
@@
#define MS_FOUND_DATAPIPE_OUT (1 << 1)
\r
\r
/* Function Prototypes: */
\r
#define MS_FOUND_DATAPIPE_OUT (1 << 1)
\r
\r
/* Function Prototypes: */
\r
- #if defined(
INCLUDE_FROM_MS_CLASS_HOST_C)
\r
+ #if defined(
__INCLUDE_FROM_MS_CLASS_HOST_C)
\r
static uint8_t DComp_NextMSInterface(void* const CurrentDescriptor);
\r
static uint8_t DComp_NextMSInterfaceEndpoint(void* const CurrentDescriptor);
\r
\r
static uint8_t DComp_NextMSInterface(void* const CurrentDescriptor);
\r
static uint8_t DComp_NextMSInterfaceEndpoint(void* const CurrentDescriptor);
\r
\r