Altered DFU bootloader to use the signature byte constants located in the avr-libc part headers, rather than redefining them in Descriptors.h.

This commit is contained in:
Dean Camera 2009-03-09 09:54:12 +00:00
parent 7e7124e40b
commit d711e37d2f
3 changed files with 2 additions and 37 deletions

View file

@ -677,7 +677,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_BYTE_1, SIGNATURE_BYTE_2, SIGNATURE_BYTE_3};
const uint8_t SignatureInfo[3] = {SIGNATURE_0, SIGNATURE_1, SIGNATURE_2};
uint8_t DataIndexToRead = SentCommand.Data[1];