summaryrefslogtreecommitdiffhomepage
path: root/digital/avr/modules/flash/flash.h
diff options
context:
space:
mode:
authorNélio Laranjeiro2008-10-21 22:49:47 +0200
committerNélio Laranjeiro2008-10-21 22:49:47 +0200
commitd32e50b442424aa8c8618763d9f9851527a8555a (patch)
tree82615088e2c1d52229051e423dd687db5ac90422 /digital/avr/modules/flash/flash.h
parent62dea0dc173ece90867f2aabd0af63c353517bfd (diff)
avr/module/flash: Tested the find next sector. closes #36
* removed the define to increment the addr. * Update the test.
Diffstat (limited to 'digital/avr/modules/flash/flash.h')
-rw-r--r--digital/avr/modules/flash/flash.h1
1 files changed, 0 insertions, 1 deletions
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)