1
0
Эх сурвалжийг харах

[DeviceDriver] Fix inverted logic on SConscript

Remove dataqueue/pipe if not enable RT_USING_HEAP, supply the missing `not`.
ItsEddy 10 жил өмнө
parent
commit
16bf2e7255

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