Browse Source

[DeviceDriver] Fix inverted logic on SConscript

Remove dataqueue/pipe if not enable RT_USING_HEAP, supply the missing `not`.
ItsEddy 10 years ago
parent
commit
16bf2e7255
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/drivers/src/SConscript

+ 1 - 1
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')