X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/1051db377d6e6e37661b9b8757f0ff2533121dcd..1eb64e62d51f22903ce3e54b23f885d6957fe649:/LUFA/Drivers/USB/Class/Device/PrinterClassDevice.c?ds=inline diff --git a/LUFA/Drivers/USB/Class/Device/PrinterClassDevice.c b/LUFA/Drivers/USB/Class/Device/PrinterClassDevice.c index d6cd09516..a02eedb09 100644 --- a/LUFA/Drivers/USB/Class/Device/PrinterClassDevice.c +++ b/LUFA/Drivers/USB/Class/Device/PrinterClassDevice.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2019. + Copyright (C) Dean Camera, 2021. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2019 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2021 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 @@ -77,6 +77,8 @@ void PRNT_Device_ProcessControlRequest(USB_ClassInfo_PRNT_Device_t* const PRNTIn } Endpoint_Write_8(PRNTInterfaceInfo->State.PortStatus); + Endpoint_ClearIN(); + Endpoint_ClearStatusStage(); }