Added new USB_Host_GetDeviceStatus() function for USB Host mode.
This commit is contained in:
parent
f152ff26c7
commit
065ed4da20
4 changed files with 44 additions and 15 deletions
|
@ -183,7 +183,7 @@
|
|||
/* Switch /SS to input mode after configuration to allow for forced mode changes */
|
||||
DDRB &= ~(1 << 0);
|
||||
|
||||
SPCR = ((1 << SPE) | SPIOptions);
|
||||
SPCR = ((1 << SPE) | SPIOptions);
|
||||
}
|
||||
|
||||
/** Turns off the SPI driver, disabling and returning used hardware to their default configuration. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue