/*
LUFA Library
- Copyright (C) Dean Camera, 2016.
+ Copyright (C) Dean Camera, 2020.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2016 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
}
uint16_t IEEEStringLen = strlen(PRNTInterfaceInfo->Config.IEEE1284String);
- Endpoint_Write_16_BE(IEEEStringLen);
+ Endpoint_Write_16_BE(IEEEStringLen + sizeof(uint16_t));
Endpoint_Write_Control_Stream_LE(PRNTInterfaceInfo->Config.IEEE1284String, IEEEStringLen);
Endpoint_ClearStatusStage();
}
}
Endpoint_Write_8(PRNTInterfaceInfo->State.PortStatus);
+ Endpoint_ClearIN();
+
Endpoint_ClearStatusStage();
}
}
#endif
-void PRNT_Device_Event_Stub(void)
+void PRNT_Device_Event_Stub(USB_ClassInfo_PRNT_Device_t* const PRNTInterfaceInfo)
{
}