Remove unnecessary ErrorCode variable initializations from the LowLevel Host mode demos.

This commit is contained in:
Dean Camera 2011-11-28 13:14:51 +00:00
parent b0a258722d
commit 057972bd25
2 changed files with 2 additions and 2 deletions

View File

@ -326,7 +326,7 @@ uint8_t MassStore_MassStorageReset(void)
*/
uint8_t MassStore_GetMaxLUN(uint8_t* const MaxLUNIndex)
{
uint8_t ErrorCode = HOST_SENDCONTROL_Successful;
uint8_t ErrorCode;
USB_ControlRequest = (USB_Request_Header_t)
{

View File

@ -75,7 +75,7 @@ uint8_t Printer_SendData(const void* const PrinterCommands,
uint8_t Printer_GetDeviceID(char* DeviceIDString,
const uint16_t BufferSize)
{
uint8_t ErrorCode = HOST_SENDCONTROL_Successful;
uint8_t ErrorCode;
uint16_t DeviceIDStringLength = 0;
USB_ControlRequest = (USB_Request_Header_t)