Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
0x7ff committed Oct 5, 2022
1 parent 7ffffff commit 7ffffff
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions gaster.c
Original file line number Diff line number Diff line change
Expand Up @@ -1475,8 +1475,6 @@ checkm8_stage_patch(const usb_handle_t *handle) {
ret = send_usb_control_request(handle, 0x21, DFU_DNLOAD, 0, 0, &data[i], packet_sz, NULL);
}
if(ret) {
send_usb_control_request_no_data(handle, 0x21, DFU_DNLOAD, 0, 0, DFU_FILE_SUFFIX_LEN, NULL);
send_usb_control_request_no_data(handle, 0x21, DFU_DNLOAD, 0, 0, 0, NULL);
dfu_check_status(handle, DFU_STATUS_OK, DFU_STATE_MANIFEST_SYNC);
dfu_check_status(handle, DFU_STATUS_OK, DFU_STATE_MANIFEST);
dfu_check_status(handle, DFU_STATUS_OK, DFU_STATE_MANIFEST_WAIT_RESET);
Expand Down

0 comments on commit 7ffffff

Please sign in to comment.