diff options
author | laforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-09-21 16:25:01 +0000 |
---|---|---|
committer | laforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-09-21 16:25:01 +0000 |
commit | cf4d20a642bf5ecc1f065c35a5479d0d2276f241 (patch) | |
tree | eba2feb64d7adb5ef93665d9cad2c935b82b4b52 /firmware/src/dfu/flash.h | |
parent | 817d9211d5f3c608dc231e1d3232d22294f9c782 (diff) |
DFU works (fix various bugs such as forgetting to shift the page number, checking for invalid page numbers, off-by-one error in flash page calculation, etc.)
git-svn-id: https://svn.openpcd.org:2342/trunk@215 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'firmware/src/dfu/flash.h')
-rw-r--r-- | firmware/src/dfu/flash.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/src/dfu/flash.h b/firmware/src/dfu/flash.h index 0e6e781..b812714 100644 --- a/firmware/src/dfu/flash.h +++ b/firmware/src/dfu/flash.h @@ -1,4 +1,5 @@ #ifndef _FLASH_H #define _FLASH_H extern void flash_page(u_int8_t *addr); +extern void flash_init(void); #endif |