From 271f0c743f31d3ae21ede35909e1f14845c6d338 Mon Sep 17 00:00:00 2001 From: inmarket Date: Thu, 20 Mar 2014 23:41:27 +1000 Subject: Updates to GADC to use new simpler gfx queued bufferring. NOTE: code is still buggy (or the one and only driver is buggy). --- demos/modules/gadc/gwinosc.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'demos/modules/gadc/gwinosc.h') diff --git a/demos/modules/gadc/gwinosc.h b/demos/modules/gadc/gwinosc.h index 56de0f11..8f5c1be3 100644 --- a/demos/modules/gadc/gwinosc.h +++ b/demos/modules/gadc/gwinosc.h @@ -64,9 +64,6 @@ typedef struct GScopeObject_t { GWindowObject g; // Base Class coord_t *lastscopetrace; // To store last scope trace - gfxSem bsem; // We get signalled on this - adcsample_t *audiobuf; // To store audio samples - GEventADC myEvent; // Information on received samples coord_t nextx; // Where we are up to #if TRIGGER_METHOD == TRIGGER_POSITIVERAMP coord_t lasty; // The last y value - used for trigger slope detection -- cgit v1.2.3 From 343ddd7158a5f102767d93598c8cba21121d6bcb Mon Sep 17 00:00:00 2001 From: inmarket Date: Mon, 24 Mar 2014 16:49:17 +1000 Subject: Final updates to GADC recording after fixing bugs in the ChibiOS AT91SAM7X ADC driver --- demos/modules/gadc/gwinosc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demos/modules/gadc/gwinosc.h') diff --git a/demos/modules/gadc/gwinosc.h b/demos/modules/gadc/gwinosc.h index 8f5c1be3..0c687a4f 100644 --- a/demos/modules/gadc/gwinosc.h +++ b/demos/modules/gadc/gwinosc.h @@ -43,7 +43,7 @@ /* The extent of scaling for our audio data - fixed scale at the moment */ #ifndef SCOPE_Y_BITS - #define SCOPE_Y_BITS 7 // 7 bits = 0..128 + #define SCOPE_Y_BITS 7 // 7 bits = 0..128 #endif /* Trigger methods */ -- cgit v1.2.3