aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gadc/main.c
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-03-24 16:49:17 +1000
committerinmarket <andrewh@inmarket.com.au>2014-03-24 16:49:17 +1000
commit343ddd7158a5f102767d93598c8cba21121d6bcb (patch)
treeb95aa984fefbf0ed6a2e43a3ee316bcb3dbfcb27 /demos/modules/gadc/main.c
parent9919aeac899e0044549c75be849aaf6b1e2456ab (diff)
downloaduGFX-343ddd7158a5f102767d93598c8cba21121d6bcb.tar.gz
uGFX-343ddd7158a5f102767d93598c8cba21121d6bcb.tar.bz2
uGFX-343ddd7158a5f102767d93598c8cba21121d6bcb.zip
Final updates to GADC recording after fixing bugs in the ChibiOS AT91SAM7X ADC driver
Diffstat (limited to 'demos/modules/gadc/main.c')
-rw-r--r--demos/modules/gadc/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/modules/gadc/main.c b/demos/modules/gadc/main.c
index 67eed456..7db14c82 100644
--- a/demos/modules/gadc/main.c
+++ b/demos/modules/gadc/main.c
@@ -171,7 +171,7 @@ int main(void) {
* Allocate buffers for the high speed GADC device - eg. 4 x 128 byte buffers.
* You may need to increase this for slower cpu's.
* You may be able to decrease this for low latency operating systems.
- * 10 x 128 seems to work on the really slow Olimex SAM7EX256 board (display speed limitation)
+ * 4 x 128 seems to work on the really slow Olimex SAM7EX256 board (display speed limitation)
* If your oscilloscope display stops but the low speed reading keep going then it is likely that
* your high speed timer has stalled due to running out of free buffers. Increase the number
* of buffers..
@@ -179,7 +179,7 @@ int main(void) {
* the low speed items to occur in which case your memory will fill up with low speed requests until
* you run out of memory.
*/
- gfxBufferAlloc(10, 128);
+ gfxBufferAlloc(4, 128);
/* Set up the scope window in the top right on the screen */
{