diff options
author | Yauheni Kaliuta <y.kaliuta@gmail.com> | 2009-10-13 20:00:46 +0300 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2009-10-13 19:16:57 +0200 |
commit | 6a2fd7cad507ef24a7dc4ce3c5f8b5351dd12656 (patch) | |
tree | 2b0cff45b7feff53d835ed4e59ecf0750fb60e4d /ecosflash | |
parent | bc0cc62afd7e84432727f470f74d4fb2b405ce35 (diff) | |
download | openocd+libswd-6a2fd7cad507ef24a7dc4ce3c5f8b5351dd12656.tar.gz openocd+libswd-6a2fd7cad507ef24a7dc4ce3c5f8b5351dd12656.tar.bz2 openocd+libswd-6a2fd7cad507ef24a7dc4ce3c5f8b5351dd12656.tar.xz openocd+libswd-6a2fd7cad507ef24a7dc4ce3c5f8b5351dd12656.zip |
Cleanup: nuke trailling whitespaces
Signed-off-by: Yauheni Kaliuta <y.kaliuta@gmail.com>
Diffstat (limited to 'ecosflash')
-rw-r--r-- | ecosflash/flash.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ecosflash/flash.c b/ecosflash/flash.c index 81f7d07d..c8ac353f 100644 --- a/ecosflash/flash.c +++ b/ecosflash/flash.c @@ -53,7 +53,7 @@ int init() *t=0; } return flash_init((_printf *)&myprintf); - + } @@ -68,15 +68,15 @@ int checkFlash(void *addr, int len) } -int erase(void *address, int len) +int erase(void *address, int len) { int retval; void *failAddress; - + retval=checkFlash(address, len); if (retval!=0) return retval; - + retval=init(); if (retval!=0) return retval; @@ -88,14 +88,14 @@ int erase(void *address, int len) extern char _end; // Data follows immediately after program, long word aligned. -int program(void *buffer, void *address, int len) +int program(void *buffer, void *address, int len) { int retval; void *failAddress; retval=checkFlash(address, len); if (retval!=0) return retval; - + retval=init(); if (retval!=0) return retval; |