Added explicit ADC channel masks for the standard set of ADC channels, as the single...
[pub/USBasp.git] / Demos / Device / ClassDriver / AudioInput / AudioInput.h
index ddb6430..98fec78 100644 (file)
@@ -52,6 +52,9 @@
        /* Macros: */\r
                /** ADC channel number for the microphone input. */\r
                #define MIC_IN_ADC_CHANNEL        2\r
+               \r
+               /** ADC channel MUX mask for the microphone input. */\r
+               #define MIC_IN_ADC_MUX_MASK       ADC_CHANNEL2\r
 \r
                /** Maximum ADC sample value for the microphone input. */\r
                #define SAMPLE_MAX_RANGE          0xFFFF\r