Skip to content

Commit

Permalink
make ffs works
Browse files Browse the repository at this point in the history
  • Loading branch information
HandsomeYingyan committed Jan 24, 2022
1 parent 2528b64 commit 00d525d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions gc_ffs.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,6 @@ int gc_ffs_create(int argc,char *argv[],gc_generic_info info)
return GC_FAILED;
}

usbg_ret = usbg_enable_gadget(gadget, DEFAULT_UDC);
if(usbg_ret != USBG_SUCCESS){
fprintf(stderr,"failed to enable gadget! \n");
gc_clean();
return GC_FAILED;
}

gc_clean();
return GC_SUCCESS;
}

0 comments on commit 00d525d

Please sign in to comment.