aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/LowLevel/PrinterHost/Lib/PrinterCommands.c
diff options
context:
space:
mode:
Diffstat (limited to 'Demos/Host/LowLevel/PrinterHost/Lib/PrinterCommands.c')
-rw-r--r--Demos/Host/LowLevel/PrinterHost/Lib/PrinterCommands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Host/LowLevel/PrinterHost/Lib/PrinterCommands.c b/Demos/Host/LowLevel/PrinterHost/Lib/PrinterCommands.c
index 0d5a7e04a..e335072f9 100644
--- a/Demos/Host/LowLevel/PrinterHost/Lib/PrinterCommands.c
+++ b/Demos/Host/LowLevel/PrinterHost/Lib/PrinterCommands.c
@@ -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)