aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/ClassDriver/AudioOutputHost/AudioOutputHost.h
diff options
context:
space:
mode:
Diffstat (limited to 'Demos/Host/ClassDriver/AudioOutputHost/AudioOutputHost.h')
-rw-r--r--Demos/Host/ClassDriver/AudioOutputHost/AudioOutputHost.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/Demos/Host/ClassDriver/AudioOutputHost/AudioOutputHost.h b/Demos/Host/ClassDriver/AudioOutputHost/AudioOutputHost.h
index 41a4e9f1d..fa4801bfb 100644
--- a/Demos/Host/ClassDriver/AudioOutputHost/AudioOutputHost.h
+++ b/Demos/Host/ClassDriver/AudioOutputHost/AudioOutputHost.h
@@ -51,26 +51,16 @@
#include <LUFA/Drivers/Board/LEDs.h>
#include <LUFA/Drivers/Board/Buttons.h>
#include <LUFA/Drivers/USB/USB.h>
+
+ #include "Config/AppConfig.h"
/* Macros: */
- /** ADC channel number for the microphone input. */
- #define MIC_IN_ADC_CHANNEL 2
-
- /** ADC channel MUX mask for the microphone input. */
- #define MIC_IN_ADC_MUX_MASK ADC_CHANNEL2
-
/** Maximum audio sample value for the microphone input. */
#define SAMPLE_MAX_RANGE 0xFFFF
/** Maximum ADC range for the microphone input. */
#define ADC_MAX_RANGE 0x3FF
- /** Defined to indicate that the microphone input voltage is biased to half the ADC reference voltage. */
- #define MICROPHONE_BIASED_TO_HALF_RAIL
-
- /** Defined to generate test tone when a button is pressed, rather than use a microphone for audio samples. */
- #define USE_TEST_TONE
-
/** LED mask for the library LED driver, to indicate that the USB interface is not ready. */
#define LEDMASK_USB_NOTREADY LEDS_LED1