mdebug

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 28d165f37f3476c2666364c5248c4f06b40b3fb1
parent 77a12a396035a98579e6541e055e590e5187bfae
Author: Brian Swetland <swetland@frotz.net>
Date:   Thu,  6 Aug 2015 23:11:48 -0700

lpcboot: favor new VID/PID from pid.codes

http://pid.codes/1209/5039/

Diffstat:
Mtools/lpcboot.c | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tools/lpcboot.c b/tools/lpcboot.c @@ -199,7 +199,10 @@ int main(int argc, char **argv) { return dfu_download(buf + 256, sz); } for (;;) { - usb = usb_open(0x18d1, 0xdb00, 0); + usb = usb_open(0x1209, 0x5039, 0); + if (usb == 0) { + usb = usb_open(0x18d1, 0xdb00, 0); + } if (usb == 0) { if (once) { fprintf(stderr,"waiting for device...\n");