Parcourir la source

[DeviceDriver] Fix inverted logic on SConscript

Remove dataqueue/pipe if not enable RT_USING_HEAP, supply the missing `not`.
ItsEddy il y a 11 ans
Parent
commit
16bf2e7255
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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')