Move out BUILD build system module start and end messages to the respective targets...
[pub/USBasp.git] / Demos / Host / LowLevel / MIDIHost / ConfigDescriptor.h
index 38b8960..40d4dc9 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
                #include "MIDIHost.h"
 
        /* Macros: */
                #include "MIDIHost.h"
 
        /* Macros: */
-               /** Pipe number for the MIDI data IN pipe. */
-               #define MIDI_DATA_IN_PIPE              1
+               /** Pipe address for the MIDI data IN pipe. */
+               #define MIDI_DATA_IN_PIPE              (PIPE_DIR_IN  | 1)
 
 
-               /** Pipe number for the MIDI data OUT pipe. */
-               #define MIDI_DATA_OUT_PIPE             2
+               /** Pipe address for the MIDI data OUT pipe. */
+               #define MIDI_DATA_OUT_PIPE             (PIPE_DIR_OUT | 2)
 
        /* Enums: */
                /** Enum for the possible return codes of the \ref ProcessConfigurationDescriptor() function. */
 
        /* Enums: */
                /** Enum for the possible return codes of the \ref ProcessConfigurationDescriptor() function. */