Add missing <math.h> include for the UC3 devices, hide CDC class driver stream functi...
[pub/USBasp.git] / Demos / Host / LowLevel / AudioOutputHost / ConfigDescriptor.h
index 0d4ff5e..0292ea4 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
                #include <LUFA/Drivers/USB/USB.h>
 
                #include "AudioOutputHost.h"
-
+               #include "Config/AppConfig.h"
+               
        /* Macros: */
-               /** Pipe number for the Audio data OUT pipe. */
-               #define AUDIO_DATA_OUT_PIPE          1
+               /** Pipe address for the Audio data OUT pipe. */
+               #define AUDIO_DATA_OUT_PIPE          (PIPE_DIR_OUT | 1)
 
        /* Enums: */
                /** Enum for the possible return codes of the \ref ProcessConfigurationDescriptor() function. */