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.
This commit is contained in:
Jef Driesen 2012-08-28 07:31:24 +02:00
parent 853407ac52
commit 55b8dbf3be

View File

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