From 8f039a4023a74630dba06529a34400d8c405023a Mon Sep 17 00:00:00 2001 From: AJM Date: Thu, 10 Jun 2010 12:00:18 -0400 Subject: cosmetic change on usbsendbytes minor --- libmaple/usb/usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmaple') diff --git a/libmaple/usb/usb.c b/libmaple/usb/usb.c index e2d83ba..7cca37f 100644 --- a/libmaple/usb/usb.c +++ b/libmaple/usb/usb.c @@ -349,7 +349,7 @@ void usbWaitReset(void) { */ int16 usbSendBytes(uint8* sendBuf, uint16 len) { - if (((line_dtr_rts & 0x02) == 0) || bDeviceState != CONFIGURED) { + if (((line_dtr_rts & CONTROL_LINE_RTS) == 0) || bDeviceState != CONFIGURED) { return -1; /* indicates to caller to stop trying, were not connected */ } -- cgit v1.2.3