This is an automated email from Gerrit.

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

-- gerrit

commit dd948d3826189d25c91aef06be6d751874bfa88f
Author: Liviu Ionescu <[email protected]>
Date:   Wed Jun 20 13:01:18 2018 +0300

    log.h: add ERROR_TIMEOUT_REACHED
    
    Add a new error code for timeouts. The shorter
    ERROR_TIMEOUT cannot be used since it is already
    taken by winerror.h.
    
    Change-Id: I5d90d7e631c572e52da4c052464fd7252f7be014
    Signed-off-by: Liviu Ionescu <[email protected]>

diff --git a/src/helper/log.h b/src/helper/log.h
index 512bcc5..d60587f 100644
--- a/src/helper/log.h
+++ b/src/helper/log.h
@@ -149,6 +149,8 @@ extern int debug_level;
  */
 #define ERROR_FAIL                                             (-4)
 #define ERROR_WAIT                                             (-5)
+/* ERROR_TIMEOUT is already taken by winerror.h. */
+#define ERROR_TIMEOUT_REACHED                  (-6)
 
 
 #endif /* OPENOCD_HELPER_LOG_H */

-- 

------------------------------------------------------------------------------
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