Set UsbResponse_InvalidCommand upon encountering with an invalid USB command.

This commit is contained in:
László Monda
2017-11-05 19:12:37 +01:00
parent 3f52819c0e
commit eb451d6153
2 changed files with 3 additions and 2 deletions

View File

@@ -79,6 +79,7 @@ void UsbProtocolHandler(void)
UsbCommand_SendKbootCommand();
break;
default:
SetUsbError(UsbResponse_InvalidCommand);
break;
}
}