Use the framework provided GlobalInterruptEnable() function instead of the AVR8/XMEGA...
[pub/USBasp.git] / Demos / Host / LowLevel / AudioInputHost / ConfigDescriptor.h
index a064a79..84d27c7 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 "AudioInputHost.h"
 
        /* Macros: */
                #include "AudioInputHost.h"
 
        /* Macros: */
-               /** Pipe number for the Audio data IN pipe. */
-               #define AUDIO_DATA_IN_PIPE          1
+               /** Pipe address for the Audio data IN pipe. */
+               #define AUDIO_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. */