Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: whitequark/libfx2
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7bcc13bd195d
Choose a base ref
...
head repository: whitequark/libfx2
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fcedc476ab55
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Nov 20, 2018

  1. Fix typo.

    whitequark committed Nov 20, 2018
    Copy the full SHA
    fcedc47 View commit details
Showing with 1 addition and 1 deletion.
  1. +1 −1 firmware/library/usbdfu.c
2 changes: 1 addition & 1 deletion firmware/library/usbdfu.c
Original file line number Diff line number Diff line change
@@ -110,7 +110,7 @@ bool usb_dfu_setup(usb_dfu_iface_state_t *dfu, __xdata struct usb_req_setup *req
}

if((req->bmRequestType & USB_DIR_MASK) == USB_DIR_OUT &&
req->bRequest == 6 && req->wValue == 0 &&
req->bRequest == USB_DFU_REQ_ABORT && req->wValue == 0 &&
req->wLength == 0) {
if(dfu->state == USB_DFU_STATE_dfuIDLE ||
dfu->state == USB_DFU_STATE_dfuDNLOAD_SYNC ||