Merge pull request #4706 from mysterywolf/ymodem

[ymodem] 修改YMODEM_USING_FILE_TRANSFER功能的开启条件
This commit is contained in:
Bernard Xiong 2021-05-21 15:01:53 +08:00 committed by GitHub
commit 5fb709d72f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -11,8 +11,8 @@ config RT_USING_RYM
config YMODEM_USING_FILE_TRANSFER
bool "Enable file transfer feature"
select RT_USING_DFS
default n
depends on RT_USING_DFS
default y
endif
config RT_USING_ULOG

View File

@ -7,7 +7,7 @@ ymodem.c
CPPPATH = [cwd]
if GetDepend('RT_USING_DFS') and GetDepend('YMODEM_USING_FILE_TRANSFER'):
if GetDepend('YMODEM_USING_FILE_TRANSFER'):
src += ['ry_sy.c']
group = DefineGroup('Utilities', src, depend = ['RT_USING_RYM'], CPPPATH = CPPPATH)