mdebug

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

commit f37069ba3613aee8014716f3adb490e041a94477
parent 292746a084fb719b836778092e47d4a047d234b8
Author: Brian Swetland <swetland@frotz.net>
Date:   Thu,  6 Aug 2015 00:41:00 -0700

debugger: favor new VID/PID pair from pid.codes

http://pid.codes/1209/5038/

Diffstat:
Mtools/rswdp.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/tools/rswdp.c b/tools/rswdp.c @@ -296,6 +296,7 @@ static void *swd_reader(void *arg) { int once = 1; restart: for (;;) { + if ((usb = usb_open(0x1209, 0x5038, 0))) break; if ((usb = usb_open(0x18d1, 0xdb03, 0))) break; if ((usb = usb_open(0x18d1, 0xdb04, 0))) break; if (once) {