aboutsummaryrefslogtreecommitdiff
path: root/Demos/Device/ClassDriver/AudioInput/AudioInput.h
diff options
context:
space:
mode:
authorDean Camera <[email protected]>2012-05-27 19:12:07 +0000
committerDean Camera <[email protected]>2012-05-27 19:12:07 +0000
commit2ff1370221d3650a6bc0523c93c2f0d37508f408 (patch)
treeb1d7f7a2a7dbebaf76e43e0f977d227d0cabf95a /Demos/Device/ClassDriver/AudioInput/AudioInput.h
parentb017b41e91f7eb7bb83d1466b45c24e01ac2e309 (diff)
parent1e42f7bd46fbef1e67f50741e4fe1a5ea3a70869 (diff)
downloadqmk_firmware-2ff1370221d3650a6bc0523c93c2f0d37508f408.tar.gz
qmk_firmware-2ff1370221d3650a6bc0523c93c2f0d37508f408.zip
Merge in AppConfigHeaders branch to trunk, altering all projects and demos to use configuration headers for application and LUFA compile time settings, rather than defines in the project makefiles.
Diffstat (limited to 'Demos/Device/ClassDriver/AudioInput/AudioInput.h')
-rw-r--r--Demos/Device/ClassDriver/AudioInput/AudioInput.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/Demos/Device/ClassDriver/AudioInput/AudioInput.h b/Demos/Device/ClassDriver/AudioInput/AudioInput.h
index 6bf5e882a3..6af4a1efe7 100644
--- a/Demos/Device/ClassDriver/AudioInput/AudioInput.h
+++ b/Demos/Device/ClassDriver/AudioInput/AudioInput.h
@@ -42,21 +42,15 @@
#include <avr/power.h>
#include <avr/interrupt.h>
- #include <LUFA/Version.h>
#include <LUFA/Drivers/Board/LEDs.h>
#include <LUFA/Drivers/Board/Buttons.h>
#include <LUFA/Drivers/Peripheral/ADC.h>
#include <LUFA/Drivers/USB/USB.h>
#include "Descriptors.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