This is an automated email from Gerrit.

psocprogrammer ([email protected]) just uploaded a new patch set to 
Gerrit, which you can find at http://openocd.zylin.com/4071

-- gerrit

commit 2f93f436df6c37cc020c9083f733f5096d866c7d
Author: Yuriy Vynnychek <[email protected]>
Date:   Wed Mar 15 12:42:31 2017 +0200

    Added support for new PSoC 6 device.
    
    Change-Id: I945b0f21b9dca4b610859b65da816f2b1133098b
    Signed-off-by: Yuriy Vynnychek <[email protected]>

diff --git a/src/flash/nor/psoc6.c b/src/flash/nor/psoc6.c
index e375d2d..927596e 100755
--- a/src/flash/nor/psoc6.c
+++ b/src/flash/nor/psoc6.c
@@ -791,7 +791,7 @@ static int Psoc6Erase(struct flash_bank *bank, int first, 
int last)
        LOG_DEBUG("first-> 0x%x, last-> 0x%x", first, last - 1);
 
        if ((unsigned)(last - 1) != 
(psoc6Info->flashSizeInKb/FLASH_SECTOR_LENGTH)) {
-               hr = ERROR_OK
+               hr = ERROR_OK;
                LOG_INFO("Count of sector is more then real present");
        } else
                hr = EraseSector(target, first, last - 1);

-- 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to