[DeviceDriver] Fix inverted logic on SConscript

Remove dataqueue/pipe if not enable RT_USING_HEAP, supply the missing `not`.
This commit is contained in:
ItsEddy 2015-04-04 02:03:17 +08:00
parent 2bc4386c30
commit 16bf2e7255
1 changed files with 1 additions and 1 deletions

View File

@ -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')