Skip to content

Commit

Permalink
redundant code removed
Browse files Browse the repository at this point in the history
  • Loading branch information
felis committed Oct 13, 2015
1 parent 0d63e43 commit 077dca3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion libraries/UHS_BULK_STORAGE/UHS_BULK_STORAGE.h
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ class UHS_Bulk_Storage : public UHS_USBInterface {
return bPollEnable;
}

void Release(void);
// void Release(void);
void Poll(void);

void DriverDefaults(void);
Expand Down
12 changes: 7 additions & 5 deletions libraries/UHS_BULK_STORAGE/UHS_BULK_STORAGE_INLINE.h
Original file line number Diff line number Diff line change
Expand Up @@ -504,18 +504,20 @@ uint8_t UHS_NI UHS_Bulk_Storage::Start(void) {
return rcode;
}

// Base class definition of Release () used. See UHS_USBInterface class definition for details

/**
* For driver use only.
*
* @return
*/
void UHS_NI UHS_Bulk_Storage::Release(void) {
//void UHS_NI UHS_Bulk_Storage::Release(void) {
// pUsb->DisablePoll();
OnRelease();
DriverDefaults();
// OnRelease();
// DriverDefaults();
// pUsb->EnablePoll();
return;
}
// return;
//}

/**
* For driver use only.
Expand Down

1 comment on commit 077dca3

@xxxajk
Copy link
Collaborator

@xxxajk xxxajk commented on 077dca3 Oct 13, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just got some of the ARM stuff working on Make, will see if it is problematic.

Please sign in to comment.