ref: 4c00d0c740471b7310e3fb7348f9b3562944f70a
parent: 144a386c96abf884f672a473676075e0c48e6502
author: Alex Musolino <alex@musolino.id.au>
date: Sat Jan 7 21:59:41 EST 2023
openep(2) now accepts Ep* instead of int
--- a/main.c
+++ b/main.c
@@ -374,7 +374,7 @@
if((ep = ud->ep[i]) == nil)
continue;
if(ep->type == Eintr && ep->dir == Ein)
- ups.intr = openep(ups.ctrl, ep->id);
+ ups.intr = openep(ups.ctrl, ep);
}
if(ups.intr == nil)
sysfatal("could not find interrupt endpoint");