aboutsummaryrefslogtreecommitdiffstats
path: root/Bootloaders/DFU/BootloaderDFU.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-06-21 05:04:18 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-06-21 05:04:18 +0000
commite0420015df848f18d5eb1672da4ccac578d454cf (patch)
treef76396ec33406dee89f8be571a63d0b0405d7511 /Bootloaders/DFU/BootloaderDFU.c
parentb2de4519590d06267445e1b711678511cc706e7c (diff)
downloadlufa-e0420015df848f18d5eb1672da4ccac578d454cf.tar.gz
lufa-e0420015df848f18d5eb1672da4ccac578d454cf.tar.bz2
lufa-e0420015df848f18d5eb1672da4ccac578d454cf.zip
Re-add signature byte defines to the DFU and CDC class bootloaders -- the SIGNATURE_x defines in the AVR device header files only exist in a newer version of avr-libc than is in the Debian repositories, causing build issues on Linux.
Diffstat (limited to 'Bootloaders/DFU/BootloaderDFU.c')
-rw-r--r--Bootloaders/DFU/BootloaderDFU.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bootloaders/DFU/BootloaderDFU.c b/Bootloaders/DFU/BootloaderDFU.c
index 58a751188..ca0387ba7 100644
--- a/Bootloaders/DFU/BootloaderDFU.c
+++ b/Bootloaders/DFU/BootloaderDFU.c
@@ -678,7 +678,7 @@ static void ProcessWriteCommand(void)
static void ProcessReadCommand(void)
{
const uint8_t BootloaderInfo[3] = {BOOTLOADER_VERSION, BOOTLOADER_ID_BYTE1, BOOTLOADER_ID_BYTE2};
- const uint8_t SignatureInfo[3] = {SIGNATURE_0, SIGNATURE_1, SIGNATURE_2};
+ const uint8_t SignatureInfo[3] = {AVR_SIGNATURE_1, AVR_SIGNATURE_2, AVR_SIGNATURE_3};
uint8_t DataIndexToRead = SentCommand.Data[1];