projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge ccdbg and altos sources into one giant repository
[fw/altos]
/
lib
/
cp-usb-async.c
diff --git
a/lib/cp-usb-async.c
b/lib/cp-usb-async.c
index 1fe09aad82f486f76a2a588eb3ed7c5b67ea377d..6539394b541a95ec4c2761d75d7a9c739e253048 100644
(file)
--- a/
lib/cp-usb-async.c
+++ b/
lib/cp-usb-async.c
@@
-130,7
+130,7
@@
cp_usb_async_write(struct cp_usb_async *cp, uint8_t mask, uint8_t value)
0x37e1, /* value */
gpio_set, /* index */
0); /* length */
0x37e1, /* value */
gpio_set, /* index */
0); /* length */
-
+
libusb_fill_control_transfer(cp->packet[p].transfer,
cp->handle,
cp->packet[p].data,
libusb_fill_control_transfer(cp->packet[p].transfer,
cp->handle,
cp->packet[p].data,
@@
-163,7
+163,7
@@
cp_usb_async_read(struct cp_usb_async *cp, uint8_t *valuep)
0x00c2, /* value */
0, /* index */
1); /* length */
0x00c2, /* value */
0, /* index */
1); /* length */
-
+
libusb_fill_control_transfer(cp->packet[p].transfer,
cp->handle,
cp->packet[p].data,
libusb_fill_control_transfer(cp->packet[p].transfer,
cp->handle,
cp->packet[p].data,