diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-06-01 22:32:43 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-06-01 22:32:43 +0000 |
commit | 56e792c95b1a29e61d9204a8f7f305d7f33261f1 (patch) | |
tree | 9a4fe8e631f6d4ec98942b4e7f1dc2349d25283f /Bootloaders/DFU/BootloaderDFU.c | |
parent | e309f42af3389afc8a11fb7475cdd808d89aef98 (diff) | |
download | lufa-56e792c95b1a29e61d9204a8f7f305d7f33261f1.tar.gz lufa-56e792c95b1a29e61d9204a8f7f305d7f33261f1.tar.bz2 lufa-56e792c95b1a29e61d9204a8f7f305d7f33261f1.zip |
Switch over Demos, Bootloaders and Projects to the new and improved build system.
Diffstat (limited to 'Bootloaders/DFU/BootloaderDFU.c')
-rw-r--r-- | Bootloaders/DFU/BootloaderDFU.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Bootloaders/DFU/BootloaderDFU.c b/Bootloaders/DFU/BootloaderDFU.c index 32b6eacec..f5c8d170e 100644 --- a/Bootloaders/DFU/BootloaderDFU.c +++ b/Bootloaders/DFU/BootloaderDFU.c @@ -673,7 +673,7 @@ static void ProcessMemReadCommand(void) { uint32_t CurrFlashAddress = 0; - while (CurrFlashAddress < BOOT_START_ADDR) + while (CurrFlashAddress < (uint32_t)BOOT_START_ADDR) { /* Check if the current byte is not blank */ #if (FLASHEND > 0xFFFF) @@ -745,7 +745,7 @@ static void ProcessWriteCommand(void) uint32_t CurrFlashAddress = 0; /* Clear the application section of flash */ - while (CurrFlashAddress < BOOT_START_ADDR) + while (CurrFlashAddress < (uint32_t)BOOT_START_ADDR) { boot_page_erase(CurrFlashAddress); boot_spm_busy_wait(); |