- remove target specific variant and use target->variant member
- fix build warning in cortex_m3 - code cleanup - remove trailing lf and convert c++ comments git-svn-id: svn://svn.berlios.de/openocd/trunk@1238 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -577,7 +577,7 @@ int lpc2000_write(struct flash_bank_s *bank, u8 *buffer, u32 offset, u32 count)
|
||||
break;
|
||||
|
||||
if (bytes_remaining >= thisrun_bytes)
|
||||
{
|
||||
{
|
||||
if ((retval = target_write_buffer(bank->target, download_area->address, thisrun_bytes, buffer + bytes_written)) != ERROR_OK)
|
||||
{
|
||||
retval = ERROR_FLASH_OPERATION_FAILED;
|
||||
|
||||
Reference in New Issue
Block a user