flash: fix typos and duplicated words
Fix typos and duplicated words in comments and strings. Change-Id: I64282c7018462deefeeb8e5f4d0d81942425b3fc Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/5758 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz> Reviewed-by: Christopher Head <chead@zaber.com>
This commit is contained in:
@@ -1170,7 +1170,7 @@ static int lpc2000_write(struct flash_bank *bank, const uint8_t *buffer, uint32_
|
||||
break;
|
||||
}
|
||||
|
||||
/* Exit if error occured */
|
||||
/* Exit if error occurred */
|
||||
if (retval != ERROR_OK)
|
||||
break;
|
||||
|
||||
@@ -1212,7 +1212,7 @@ static int lpc2000_write(struct flash_bank *bank, const uint8_t *buffer, uint32_
|
||||
break;
|
||||
}
|
||||
|
||||
/* Exit if error occured */
|
||||
/* Exit if error occurred */
|
||||
if (retval != ERROR_OK)
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user