summaryrefslogtreecommitdiff
path: root/components/drivers
diff options
context:
space:
mode:
authorItsEddy <[email protected]>2015-04-04 02:03:17 +0800
committerItsEddy <[email protected]>2015-04-04 02:17:26 +0800
commit16bf2e72557877168914d628a87126a47383bb68 (patch)
tree5c7e8a9829d3a8c61f8602eabba73e717f8b72a6 /components/drivers
parent2bc4386c30768a320b805cb74bb44972dc10dbbc (diff)
[DeviceDriver] Fix inverted logic on SConscript
Remove dataqueue/pipe if not enable RT_USING_HEAP, supply the missing `not`.
Diffstat (limited to 'components/drivers')
-rw-r--r--components/drivers/src/SConscript2
1 files changed, 1 insertions, 1 deletions
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')