mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
move status messages
This commit is contained in:
parent
bf8aedf382
commit
db51039034
1 changed files with 4 additions and 2 deletions
|
@ -123,7 +123,7 @@ uint8_t BulkOnly::ConfigureDevice(uint8_t parent, uint8_t port, bool lowspeed) {
|
|||
uint8_t rcode;
|
||||
UsbDevice *p = NULL;
|
||||
EpInfo *oldep_ptr = NULL;
|
||||
USBTRACE("MS Init\r\n");
|
||||
USBTRACE("MS ConfigureDevice\r\n");
|
||||
ClearAllEP();
|
||||
delay(2000);
|
||||
AddressPool &addrPool = pUsb->GetAddressPool();
|
||||
|
@ -221,6 +221,8 @@ uint8_t BulkOnly::Init(uint8_t parent, uint8_t port, bool lowspeed) {
|
|||
uint8_t rcode;
|
||||
uint8_t num_of_conf = epInfo[1].epAddr; // number of configurations
|
||||
epInfo[1].epAddr = 0;
|
||||
USBTRACE("MS Init\r\n");
|
||||
|
||||
AddressPool &addrPool = pUsb->GetAddressPool();
|
||||
UsbDevice *p = addrPool.GetUsbDevicePtr(bAddress);
|
||||
|
||||
|
|
Loading…
Reference in a new issue