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