From 55b8dbf3bed80b521e0fe948749dd8bb3bfe6d59 Mon Sep 17 00:00:00 2001 From: Jef Driesen Date: Tue, 28 Aug 2012 07:31:24 +0200 Subject: [PATCH] Fix a mistake introduced during the latest merge commit. The status codes in the new EXITCODE macro were not updated to use the new constants with the namespace prefix. As a result building fails when compiling with libusb support. --- src/atomics_cobalt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/atomics_cobalt.c b/src/atomics_cobalt.c index 5a2738b..85b1b1d 100644 --- a/src/atomics_cobalt.c +++ b/src/atomics_cobalt.c @@ -37,7 +37,7 @@ #include "checksum.h" #include "array.h" -#define EXITCODE(rc) (rc == LIBUSB_ERROR_TIMEOUT ? DEVICE_STATUS_TIMEOUT : DEVICE_STATUS_IO) +#define EXITCODE(rc) (rc == LIBUSB_ERROR_TIMEOUT ? DC_STATUS_TIMEOUT : DC_STATUS_IO) #define VID 0x0471 #define PID 0x0888