diff options
author | AJM <poslathian@poslathian.(none)> | 2010-06-10 12:00:18 -0400 |
---|---|---|
committer | AJM <poslathian@poslathian.(none)> | 2010-06-10 12:00:18 -0400 |
commit | 8f039a4023a74630dba06529a34400d8c405023a (patch) | |
tree | 3e23fd8dbf26cca818dfa7ec03cc81d4cf7f8499 /libmaple/usb | |
parent | 7783625ffc27f2fe21535a0d6b1a549f1c217380 (diff) | |
download | librambutan-8f039a4023a74630dba06529a34400d8c405023a.tar.gz librambutan-8f039a4023a74630dba06529a34400d8c405023a.zip |
cosmetic change on usbsendbytes
minor
Diffstat (limited to 'libmaple/usb')
-rw-r--r-- | libmaple/usb/usb.c | 2 |
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 */ } |