Fixed USB_Host_ClearPipeStall() incorrectly attempting to determine the endpoint...
[pub/USBasp.git] / Demos / Host / LowLevel / PrinterHost / PrinterHost.h
index 99bbd4a..2ba270f 100644 (file)
                /** LED mask for the library LED driver, to indicate that the USB interface is busy. */
                #define LEDMASK_USB_BUSY          LEDS_LED2
        
+       /* External Variables: */
+               extern uint8_t PrinterInterfaceNumber;
+       
        /* Function Prototypes: */
                void EVENT_USB_Host_DeviceAttached(void);
                void EVENT_USB_Host_DeviceUnattached(void);
                void EVENT_USB_Host_DeviceEnumerationComplete(void);
-               void EVENT_USB_Host_HostError(uint8_t ErrorCode);
-               void EVENT_USB_Host_DeviceEnumerationFailed(uint8_t ErrorCode, uint8_t SubErrorCode);
+               void EVENT_USB_Host_HostError(const uint8_t ErrorCode);
+               void EVENT_USB_Host_DeviceEnumerationFailed(const uint8_t ErrorCode,
+                                                           const uint8_t SubErrorCode);
 
                void SetupHardware(void);