mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Removed some unused code
This commit is contained in:
parent
b4bb7c9244
commit
4f738d3ef9
2 changed files with 1 additions and 13 deletions
8
BTD.cpp
8
BTD.cpp
|
@ -251,13 +251,7 @@ uint8_t BTD::Init(uint8_t parent, uint8_t port, bool lowspeed) {
|
||||||
}
|
}
|
||||||
return 0; // Successful configuration
|
return 0; // Successful configuration
|
||||||
|
|
||||||
/* diagnostic messages */
|
/* Diagnostic messages */
|
||||||
#ifdef DEBUG_USB_HOST
|
|
||||||
FailGetDevDescr:
|
|
||||||
NotifyFailGetDevDescr();
|
|
||||||
goto Fail;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
FailSetDevTblEntry:
|
FailSetDevTblEntry:
|
||||||
#ifdef DEBUG_USB_HOST
|
#ifdef DEBUG_USB_HOST
|
||||||
NotifyFailSetDevTblEntry();
|
NotifyFailSetDevTblEntry();
|
||||||
|
|
|
@ -275,12 +275,6 @@ FailSetConfDescr:
|
||||||
NotifyFailSetConfDescr();
|
NotifyFailSetConfDescr();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef DEBUG_USB_HOST
|
|
||||||
FailUnknownDevice:
|
|
||||||
NotifyFailUnknownDevice(VID,PID);
|
|
||||||
#endif
|
|
||||||
rcode = USB_DEV_CONFIG_ERROR_DEVICE_NOT_SUPPORTED;
|
|
||||||
|
|
||||||
Fail:
|
Fail:
|
||||||
#ifdef DEBUG_USB_HOST
|
#ifdef DEBUG_USB_HOST
|
||||||
Notify(PSTR("\r\nXbox 360 Init Failed, error code: "), 0x80);
|
Notify(PSTR("\r\nXbox 360 Init Failed, error code: "), 0x80);
|
||||||
|
|
Loading…
Reference in a new issue