diff options
Diffstat (limited to 'Demos/Host/ClassDriver/PrinterHost')
| -rw-r--r-- | Demos/Host/ClassDriver/PrinterHost/PrinterHost.c | 3 | ||||
| -rw-r--r-- | Demos/Host/ClassDriver/PrinterHost/PrinterHost.h | 3 | 
2 files changed, 4 insertions, 2 deletions
| diff --git a/Demos/Host/ClassDriver/PrinterHost/PrinterHost.c b/Demos/Host/ClassDriver/PrinterHost/PrinterHost.c index 9d5ca08d9..e0d9726b6 100644 --- a/Demos/Host/ClassDriver/PrinterHost/PrinterHost.c +++ b/Demos/Host/ClassDriver/PrinterHost/PrinterHost.c @@ -211,7 +211,8 @@ void EVENT_USB_Host_HostError(const uint8_t ErrorCode)  /** Event handler for the USB_DeviceEnumerationFailed event. This indicates that a problem occurred while   *  enumerating an attached USB device.   */ -void EVENT_USB_Host_DeviceEnumerationFailed(const uint8_t ErrorCode, const uint8_t SubErrorCode) +void EVENT_USB_Host_DeviceEnumerationFailed(const uint8_t ErrorCode, +                                            const uint8_t SubErrorCode)  {  	printf_P(PSTR(ESC_FG_RED "Dev Enum Error\r\n"  	                         " -- Error Code %d\r\n" diff --git a/Demos/Host/ClassDriver/PrinterHost/PrinterHost.h b/Demos/Host/ClassDriver/PrinterHost/PrinterHost.h index a4880577e..a2b90a69d 100644 --- a/Demos/Host/ClassDriver/PrinterHost/PrinterHost.h +++ b/Demos/Host/ClassDriver/PrinterHost/PrinterHost.h @@ -73,7 +73,8 @@  		void EVENT_USB_Host_HostError(const uint8_t ErrorCode);  		void EVENT_USB_Host_DeviceAttached(void);  		void EVENT_USB_Host_DeviceUnattached(void); -		void EVENT_USB_Host_DeviceEnumerationFailed(const uint8_t ErrorCode, const uint8_t SubErrorCode); +		void EVENT_USB_Host_DeviceEnumerationFailed(const uint8_t ErrorCode, +		                                            const uint8_t SubErrorCode);  		void EVENT_USB_Host_DeviceEnumerationComplete(void);  #endif | 
