Added new USB_Host_GetDeviceStatus() function for USB Host mode.

This commit is contained in:
Dean Camera 2011-07-12 04:52:21 +00:00
parent f152ff26c7
commit 065ed4da20
4 changed files with 44 additions and 15 deletions

View file

@ -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. */