From 16bf2e72557877168914d628a87126a47383bb68 Mon Sep 17 00:00:00 2001 From: ItsEddy Date: Sat, 4 Apr 2015 02:03:17 +0800 Subject: [PATCH] [DeviceDriver] Fix inverted logic on SConscript Remove dataqueue/pipe if not enable RT_USING_HEAP, supply the missing `not`. --- components/drivers/src/SConscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/drivers/src/SConscript b/components/drivers/src/SConscript index d70b3fb771..9f921ec509 100644 --- a/components/drivers/src/SConscript +++ b/components/drivers/src/SConscript @@ -4,7 +4,7 @@ cwd = GetCurrentDir() src = Glob('*.c') CPPPATH = [cwd + '/../include'] -if GetDepend('RT_USING_HEAP'): +if not GetDepend('RT_USING_HEAP'): SrcRemove(src, 'dataqueue.c') SrcRemove(src, 'pipe.c')