error number: review

Review allocation of error numbers in openocd
to avoid overlap.
Put brackets around negative numbers to avoid
issues during macro expansion.

Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
Antonio Borneo
2010-06-23 00:53:17 +08:00
committed by Øyvind Harboe
parent 4fa3cc7746
commit 6cb2d6dd7a
3 changed files with 11 additions and 11 deletions

View File

@@ -176,6 +176,6 @@ enum
XSCALE_TXRXCTRL,
};
#define ERROR_XSCALE_NO_TRACE_DATA (-1500)
#define ERROR_XSCALE_NO_TRACE_DATA (-700)
#endif /* XSCALE_H */