tools/astyle.sh: Formatting tool based on logic from Lorenz Meier
This commit is contained in:
parent
f1e6ea46ed
commit
d2001a1dc3
@ -3082,6 +3082,7 @@ static int sam_ep_submit(struct usbdev_ep_s *ep, struct usbdev_req_s *req)
|
||||
epno = USB_EPNO(ep->eplog);
|
||||
req->result = -EINPROGRESS;
|
||||
req->xfrd = 0;
|
||||
privreq->inflight = 0;
|
||||
flags = irqsave();
|
||||
|
||||
/* Handle IN (device-to-host) requests. NOTE: If the class device is
|
||||
|
@ -3575,6 +3575,7 @@ static int sam_ep_submit(struct usbdev_ep_s *ep, struct usbdev_req_s *req)
|
||||
epno = USB_EPNO(ep->eplog);
|
||||
req->result = -EINPROGRESS;
|
||||
req->xfrd = 0;
|
||||
privreq->inflight = 0;
|
||||
flags = irqsave();
|
||||
|
||||
/* Handle IN (device-to-host) requests. NOTE: If the class device is
|
||||
|
Loading…
Reference in New Issue
Block a user