projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make SPI and USART peripheral dispatch driver headers in preparation for a set of...
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
LowLevel
/
Host.h
diff --git
a/LUFA/Drivers/USB/LowLevel/Host.h
b/LUFA/Drivers/USB/LowLevel/Host.h
index
07ff0fc
..
5672dd5
100644
(file)
--- a/
LUFA/Drivers/USB/LowLevel/Host.h
+++ b/
LUFA/Drivers/USB/LowLevel/Host.h
@@
-55,6
+55,11
@@
extern "C" {
\r
#endif
\r
\r
extern "C" {
\r
#endif
\r
\r
+ /* Preprocessor Checks: */
\r
+ #if !defined(__INCLUDE_FROM_USB_DRIVER)
\r
+ #error Do not include this file directly. Include LUFA/Drivers/USB.h instead.
\r
+ #endif
\r
+
\r
/* Public Interface - May be used in end-application: */
\r
/* Macros: */
\r
/** Indicates the fixed USB device address which any attached device is enumerated to when in
\r
/* Public Interface - May be used in end-application: */
\r
/* Macros: */
\r
/** Indicates the fixed USB device address which any attached device is enumerated to when in
\r
@@
-397,7
+402,7
@@
void USB_Host_ProcessNextHostState(void);
\r
uint8_t USB_Host_WaitMS(uint8_t MS);
\r
\r
void USB_Host_ProcessNextHostState(void);
\r
uint8_t USB_Host_WaitMS(uint8_t MS);
\r
\r
- #if defined(INCLUDE_FROM_HOST_C)
\r
+ #if defined(
__
INCLUDE_FROM_HOST_C)
\r
static void USB_Host_ResetDevice(void);
\r
#endif
\r
#endif
\r
static void USB_Host_ResetDevice(void);
\r
#endif
\r
#endif
\r