Add error message for debugging purposes to the low level AudioInputHost and AudioOut...
[pub/USBasp.git] / Demos / Host / LowLevel / JoystickHostWithParser / ConfigDescriptor.h
index 4738045..fba5713 100644 (file)
@@ -7,7 +7,7 @@
 */
 
 /*
 */
 
 /*
-  Copyright 2011  Dean Camera (dean [at] fourwalledcubicle [dot] com)
+  Copyright 2012  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
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
@@ -42,8 +42,8 @@
                #include "HIDReport.h"
 
        /* Macros: */
                #include "HIDReport.h"
 
        /* Macros: */
-               /** Pipe number for the joystick report data pipe. */
-               #define JOYSTICK_DATA_IN_PIPE       1
+               /** Pipe address for the joystick report data pipe. */
+               #define JOYSTICK_DATA_IN_PIPE       (PIPE_DIR_IN | 1)
 
        /* Enums: */
                /** Enum for the possible return codes of the \ref ProcessConfigurationDescriptor() function. */
 
        /* Enums: */
                /** Enum for the possible return codes of the \ref ProcessConfigurationDescriptor() function. */