projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update Temperature board driver to be AVR32 compatible when the ADC peripheral driver...
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
HighLevel
/
StreamCallbacks.h
diff --git
a/LUFA/Drivers/USB/HighLevel/StreamCallbacks.h
b/LUFA/Drivers/USB/HighLevel/StreamCallbacks.h
index
c502330
..
3d30655
100644
(file)
--- a/
LUFA/Drivers/USB/HighLevel/StreamCallbacks.h
+++ b/
LUFA/Drivers/USB/HighLevel/StreamCallbacks.h
@@
-41,6
+41,11
@@
#ifndef __STREAMCALLBACK_H__
\r
#define __STREAMCALLBACK_H__
\r
\r
#ifndef __STREAMCALLBACK_H__
\r
#define __STREAMCALLBACK_H__
\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
/** Used with the Endpoint and Pipe stream functions as the callback function parameter, indicating that the stream
\r
/* Public Interface - May be used in end-application: */
\r
/* Macros: */
\r
/** Used with the Endpoint and Pipe stream functions as the callback function parameter, indicating that the stream
\r