From d32e50b442424aa8c8618763d9f9851527a8555a Mon Sep 17 00:00:00 2001 From: NĂ©lio Laranjeiro Date: Tue, 21 Oct 2008 22:49:47 +0200 Subject: avr/module/flash: Tested the find next sector. closes #36 * removed the define to increment the addr. * Update the test. --- digital/avr/modules/flash/flash.h | 1 - 1 file changed, 1 deletion(-) (limited to 'digital/avr/modules/flash/flash.h') diff --git a/digital/avr/modules/flash/flash.h b/digital/avr/modules/flash/flash.h index 205eedf1..06c64f54 100644 --- a/digital/avr/modules/flash/flash.h +++ b/digital/avr/modules/flash/flash.h @@ -29,7 +29,6 @@ #define FLASH_ADDRESS_HIGH 0x1FFFFF #define FLASH_ADDRESS_ERROR 0xFFFFFF -#define FLASH_ADDRESS_INC_MASK(val) ((val) = (val+1) & FLASH_HIGH_ADDRESS) #define FLASH_PAGE_SIZE 0x1000 #define FLASH_PAGE_MASK (FLASH_ADDRESS_HIGH & FLASH_PAGE_SIZE) -- cgit v1.2.3