diffs for descriptor.c

21 views
Skip to first unread message

DIY DSP

unread,
Apr 14, 2015, 10:19:10 PM4/14/15
to axolo...@googlegroups.com

I created the diff for descriptor.c and tested it with patch briefly today in my car while waiting for my friend to get home :)

It's not integrated into anything else yet, but here it is:

http://gweep.net/~shifty/music/axoloti/libusb/libusb/orig/diffs.txt

All you have to do to make it work is type:

patch descriptor.c diffs.txt

it modifies descriptor.c in place.

1187c1187,1188
< 		return LIBUSB_ERROR_IO;
---
> 		tbuf[0] = r;
> 	//return LIBUSB_ERROR_IO;



DIY DSP

unread,
Apr 15, 2015, 9:13:09 AM4/15/15
to axolo...@googlegroups.com

and here are the diffs for axoloti_defines.h.  Unfortunately, I don't have my more complete linux install script here, but I'll have that tonight:

http://diydsp.com/fun/axoloti/firmware/diff_axoloti_defines.h

30,31c30,31
< #define BOARD_AXOLOTI_V03 1
< //#define BOARD_AXOLOTI_V05 1
---
> //#define BOARD_AXOLOTI_V03 1
> #define BOARD_AXOLOTI_V05 1



Johannes Taelman

unread,
Apr 15, 2015, 9:29:03 AM4/15/15
to DIY DSP, axoloti-dev
This diff has really little context, I fear ambiguities when the libusb code changes and this becomes a different line number.


--
You received this message because you are subscribed to the Google Groups "axoloti-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to axoloti-dev...@googlegroups.com.
To post to this group, send email to axolo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/axoloti-dev/426cf563-cc94-49e6-90d2-601b24b3ab78%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages