projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move the length decrements in the pipe and endpoint stream functions to the point...
[pub/USBasp.git]
/
Bootloaders
/
DFU
/
BootloaderDFU.h
diff --git
a/Bootloaders/DFU/BootloaderDFU.h
b/Bootloaders/DFU/BootloaderDFU.h
index
d0a8254
..
e996f2b
100644
(file)
--- a/
Bootloaders/DFU/BootloaderDFU.h
+++ b/
Bootloaders/DFU/BootloaderDFU.h
@@
-48,7
+48,12
@@
#include "Descriptors.h"
\r
\r
#include <LUFA/Drivers/USB/USB.h> // USB Functionality
\r
#include "Descriptors.h"
\r
\r
#include <LUFA/Drivers/USB/USB.h> // USB Functionality
\r
-
\r
+
\r
+ /* Preprocessor Checks: */
\r
+ #if !defined(SIGNATURE_0) || !defined(SIGNATURE_1) || !defined(SIGNATURE_2)
\r
+ #error Device signature byte constants are not defined due to outdated avr-libc version. See demo documentation.
\r
+ #endif
\r
+
\r
/* Macros: */
\r
/** Configuration define. Define this token to true to case the bootloader to reject all memory commands
\r
* until a memory erase has been performed. When used in conjunction with the lockbits of the AVR, this
\r
/* Macros: */
\r
/** Configuration define. Define this token to true to case the bootloader to reject all memory commands
\r
* until a memory erase has been performed. When used in conjunction with the lockbits of the AVR, this
\r