From e4d6884bca6ca422115765dab60039bd6296ccab Mon Sep 17 00:00:00 2001 From: inmarket Date: Thu, 20 Mar 2014 23:31:10 +1000 Subject: [PATCH] Cause the gaudio/gadc driver (currently broken) to include the GADC framework if it is included in the make. --- demos/modules/gaudio/oscilloscope/gfxconf.h | 1 - drivers/gaudio/gadc/driver.mk | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/demos/modules/gaudio/oscilloscope/gfxconf.h b/demos/modules/gaudio/oscilloscope/gfxconf.h index 2caa1da9..8e20ce0b 100644 --- a/demos/modules/gaudio/oscilloscope/gfxconf.h +++ b/demos/modules/gaudio/oscilloscope/gfxconf.h @@ -45,7 +45,6 @@ #define GFX_USE_GDISP TRUE #define GFX_USE_GWIN TRUE #define GFX_USE_GTIMER TRUE -//#define GFX_USE_GADC TRUE #define GFX_USE_GAUDIO TRUE /* Features for the GDISP sub-system. */ diff --git a/drivers/gaudio/gadc/driver.mk b/drivers/gaudio/gadc/driver.mk index 4d79da25..8e943577 100644 --- a/drivers/gaudio/gadc/driver.mk +++ b/drivers/gaudio/gadc/driver.mk @@ -3,3 +3,7 @@ GFXSRC += $(GFXLIB)/drivers/gaudio/gadc/gaudio_record_lld.c # Required include directories GFXINC += $(GFXLIB)/drivers/gaudio/gadc + +# Make sure the GADC sub-system is turned on +GFXDEFS += -DGFX_USE_GADC=TRUE +