mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Indent...
This commit is contained in:
parent
ec8aef8f28
commit
b2e85fd274
1 changed files with 3 additions and 5 deletions
2
BTD.cpp
2
BTD.cpp
|
@ -35,14 +35,12 @@ pollInterval(0),
|
|||
bPollEnable(false) // Don't start polling before dongle is connected
|
||||
{
|
||||
uint8_t i;
|
||||
|
||||
for (i = 0; i < BTD_MAX_ENDPOINTS; i++) {
|
||||
epInfo[i].epAddr = 0;
|
||||
epInfo[i].maxPktSize = (i) ? 0 : 8;
|
||||
epInfo[i].epAttribs = 0;
|
||||
epInfo[i].bmNakPower = (i) ? USB_NAK_NOWAIT : USB_NAK_MAX_POWER;
|
||||
}
|
||||
|
||||
for (i = 0; i < BTD_NUMSERVICES; i++)
|
||||
btService[i] = NULL;
|
||||
|
||||
|
|
Loading…
Reference in a new issue