tools/astyle.sh: Formatting tool based on logic from Lorenz Meier

This commit is contained in:
Gregory Nutt 2014-03-26 08:50:48 -06:00
parent f1e6ea46ed
commit d2001a1dc3
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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