aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gaudio/gadc/gaudio_record_board_template.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-03-20 23:41:27 +1000
committerinmarket <andrewh@inmarket.com.au>2014-03-20 23:41:27 +1000
commit271f0c743f31d3ae21ede35909e1f14845c6d338 (patch)
tree03541486e35fd48b3dd76db6c0470a8d860cd964 /drivers/gaudio/gadc/gaudio_record_board_template.h
parent712ff73f77763eeee798d6913f57e5577adcef3f (diff)
downloaduGFX-271f0c743f31d3ae21ede35909e1f14845c6d338.tar.gz
uGFX-271f0c743f31d3ae21ede35909e1f14845c6d338.tar.bz2
uGFX-271f0c743f31d3ae21ede35909e1f14845c6d338.zip
Updates to GADC to use new simpler gfx queued bufferring.
NOTE: code is still buggy (or the one and only driver is buggy).
Diffstat (limited to 'drivers/gaudio/gadc/gaudio_record_board_template.h')
-rw-r--r--drivers/gaudio/gadc/gaudio_record_board_template.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/gaudio/gadc/gaudio_record_board_template.h b/drivers/gaudio/gadc/gaudio_record_board_template.h
index 26e87d88..59168be1 100644
--- a/drivers/gaudio/gadc/gaudio_record_board_template.h
+++ b/drivers/gaudio/gadc/gaudio_record_board_template.h
@@ -27,6 +27,12 @@
#define GAUDIO_RECORD_NUM_CHANNELS 1
/**
+ * @brief Whether each channel is mono or stereo
+ * @note This is an example
+ */
+#define GAUDIO_RECORD_CHANNEL0_IS_STEREO FALSE
+
+/**
* @brief The list of audio channels and their uses
* @note This is an example
* @{
@@ -40,7 +46,7 @@
* @{
*/
#ifdef GAUDIO_RECORD_LLD_IMPLEMENTATION
- static uint32_t gaudin_lld_physdevs[GAUDIO_RECORD_NUM_CHANNELS] = {
+ static uint32_t gaudio_gadc_physdevs[GAUDIO_RECORD_NUM_CHANNELS] = {
GADC_PHYSDEV_MICROPHONE,
};
#endif