aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple
diff options
context:
space:
mode:
authorAJM <poslathian@poslathian.(none)>2010-06-10 12:00:18 -0400
committerAJM <poslathian@poslathian.(none)>2010-06-10 12:00:18 -0400
commit8f039a4023a74630dba06529a34400d8c405023a (patch)
tree3e23fd8dbf26cca818dfa7ec03cc81d4cf7f8499 /libmaple
parent7783625ffc27f2fe21535a0d6b1a549f1c217380 (diff)
downloadlibrambutan-8f039a4023a74630dba06529a34400d8c405023a.tar.gz
librambutan-8f039a4023a74630dba06529a34400d8c405023a.zip
cosmetic change on usbsendbytes
minor
Diffstat (limited to 'libmaple')
-rw-r--r--libmaple/usb/usb.c2
1 files changed, 1 insertions, 1 deletions
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 */
}