Rename UsbResponse_*() to UsbStatusCode_*(), SetUsbError() to SetUsbStatusCode(), and other USB status codes consistently.

This commit is contained in:
László Monda
2017-11-05 19:25:13 +01:00
parent eb451d6153
commit 6db3eb3045
7 changed files with 16 additions and 16 deletions

View File

@@ -16,7 +16,7 @@ void UsbCommand_ApplyConfig(void)
*(uint16_t*)(GenericHidOutBuffer+1) = StagingUserConfigBuffer.offset;
GenericHidOutBuffer[3] = 0;
if (GenericHidOutBuffer[0] != UsbResponse_Success) {
if (GenericHidOutBuffer[0] != UsbStatusCode_Success) {
return;
}
@@ -37,7 +37,7 @@ void UsbCommand_ApplyConfig(void)
*(uint16_t*)(GenericHidOutBuffer+1) = ValidatedUserConfigBuffer.offset;
GenericHidOutBuffer[3] = 1;
if (GenericHidOutBuffer[0] != UsbResponse_Success) {
if (GenericHidOutBuffer[0] != UsbStatusCode_Success) {
return;
}