diff options
author | inmarket <andrewh@inmarket.com.au> | 2014-03-20 23:41:27 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2014-03-20 23:41:27 +1000 |
commit | 271f0c743f31d3ae21ede35909e1f14845c6d338 (patch) | |
tree | 03541486e35fd48b3dd76db6c0470a8d860cd964 /boards | |
parent | 712ff73f77763eeee798d6913f57e5577adcef3f (diff) | |
download | uGFX-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 'boards')
-rw-r--r-- | boards/base/Olimex-SAM7EX256-GE8/gaudio_record_board.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/boards/base/Olimex-SAM7EX256-GE8/gaudio_record_board.h b/boards/base/Olimex-SAM7EX256-GE8/gaudio_record_board.h index cdea5e06..68063881 100644 --- a/boards/base/Olimex-SAM7EX256-GE8/gaudio_record_board.h +++ b/boards/base/Olimex-SAM7EX256-GE8/gaudio_record_board.h @@ -20,12 +20,17 @@ #define GAUDIO_RECORD_NUM_CHANNELS 1 /** + * @brief Whether each channel is mono or stereo + */ +#define GAUDIO_RECORD_CHANNEL0_IS_STEREO FALSE + +/** * The list of audio channels and their uses */ #define GAUDIO_RECORD_MICROPHONE 0 #ifdef GAUDIO_RECORD_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 |