forked from auracaster/openocd
- Fixes '=' whitespace
- Replace ')\(=\)\(\w\)' with ') \1 \2'.
- Replace '\(\w\)\(=\)(' with '\1 \2 ('.
- Replace '\(\w\)\(=\)\(\w\)' with '\1 \2 \3'.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2372 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -200,7 +200,7 @@ static int ocl_write(struct flash_bank_s *bank, uint8_t *buffer, uint32_t offset
|
||||
chksum = OCL_CHKS_INIT;
|
||||
|
||||
/* copy data to DCC buffer in proper byte order and properly aligned */
|
||||
for (i=0; i<runlen; i++)
|
||||
for (i = 0; i<runlen; i++)
|
||||
{
|
||||
switch (byteofs++)
|
||||
{
|
||||
@@ -332,7 +332,7 @@ static int ocl_probe(struct flash_bank_s *bank)
|
||||
return ERROR_FLASH_BANK_INVALID;
|
||||
}
|
||||
sectsize = bank->size / bank->num_sectors;
|
||||
for (i=0; i<bank->num_sectors; i++)
|
||||
for (i = 0; i<bank->num_sectors; i++)
|
||||
{
|
||||
bank->sectors[i].offset = i * sectsize;
|
||||
bank->sectors[i].size = sectsize;
|
||||
|
||||
Reference in New Issue
Block a user