implement delay.c/.h

This commit is contained in:
Meco Man committed 2021-06-16 14:15:31 +08:00
1 parent ac50f5193e
commit 56e3571e8a
5 files changed
+66 -11

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ CPPPATH = [cwd]
if GetDepend('RT_USING_LIBC'):
src += Glob('*.c')
if GetDepend('RT_USING_POSIX') == False:
SrcRemove(src, ['unistd.c'])
SrcRemove(src, ['unistd.c', 'delay.c'])
elif GetDepend('RT_LIBC_USING_TIME'):
src += ['time.c']