Fix unused variable warning

This commit is contained in:
dak664 2011-03-10 10:37:15 -05:00
parent d4f58ca7f0
commit ad67c573de

View file

@ -483,9 +483,9 @@ avr_flash_read(CFS_CONF_OFFSET_TYPE addr, uint8_t *buf, CFS_CONF_OFFSET_TYPE siz
BOOTLOADER_SECTION BOOTLOADER_SECTION
void avr_flash_erase(coffee_page_t sector) { void avr_flash_erase(coffee_page_t sector) {
coffee_page_t i; coffee_page_t i;
uint32_t addr32;
#if FLASH_COMPLEMENT_DATA #if FLASH_COMPLEMENT_DATA
uint32_t addr32;
volatile uint8_t sreg; volatile uint8_t sreg;
// Disable interrupts. // Disable interrupts.