From 7170ff63c1ee459dd02b46dd79752c7da7cdf655 Mon Sep 17 00:00:00 2001 From: Ross Owen Date: Tue, 19 Apr 2016 11:59:42 +0100 Subject: [PATCH] PDM_MIC_INDEX added to devicedefines.h --- module_usb_audio/devicedefines.h | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/module_usb_audio/devicedefines.h b/module_usb_audio/devicedefines.h index b156725d..21152868 100644 --- a/module_usb_audio/devicedefines.h +++ b/module_usb_audio/devicedefines.h @@ -215,6 +215,16 @@ #define NUM_PDM_MICS (0) #endif +/** + * @brief PDM Microphone first channel index, defines which channels microphones will be input on. + * Note, indexed from 0. + * + * Default: 0 (i.e. channels [0:NUM_PDM_MICS-1]) + * */ +#ifndef PDM_MIC_INDEX +#define PDM_MIC_INDEX (0) +#endif + /** * @brief Enable MIDI functionality including buffering, descriptors etc. Default: DISABLED */ @@ -230,14 +240,14 @@ * @brief MIDI Rx port width (1 or 4bit). Default: 1 */ #ifndef MIDI_RX_PORT_WIDTH -#define MIDI_RX_PORT_WIDTH (1) +#define MIDI_RX_PORT_WIDTH (1) #endif /** * @brief Enables SPDIF Tx. Default: 0 (Disabled) */ #ifndef SPDIF_TX -#define SPDIF_TX (0) +#define SPDIF_TX (0) #endif /* Tidy up old SPDIF usage */