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:
committed by
Øyvind Harboe
parent
4fa3cc7746
commit
6cb2d6dd7a
@@ -59,7 +59,7 @@ typedef enum trace_status
|
||||
int trace_point(struct target *target, uint32_t number);
|
||||
int trace_register_commands(struct command_context *cmd_ctx);
|
||||
|
||||
#define ERROR_TRACE_IMAGE_UNAVAILABLE -(1500)
|
||||
#define ERROR_TRACE_INSTRUCTION_UNAVAILABLE -(1501)
|
||||
#define ERROR_TRACE_IMAGE_UNAVAILABLE (-1500)
|
||||
#define ERROR_TRACE_INSTRUCTION_UNAVAILABLE (-1501)
|
||||
|
||||
#endif /* TRACE_H */
|
||||
|
||||
Reference in New Issue
Block a user