diff options
| author | Rbb666 <[email protected]> | 2025-02-08 13:15:30 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2025-02-09 15:48:49 +0800 |
| commit | d83d71cc057a32927a8156616339b776fa72af3f (patch) | |
| tree | ceeec4dea3ec283a6cc5a3a8c9967ed13720e8d9 /components/drivers/spi/SConscript | |
| parent | 6e3c9acd3907baad0fe7669d998b8748709b04f5 (diff) | |
[drivers/spi]统一软件SPI配置
Diffstat (limited to 'components/drivers/spi/SConscript')
| -rw-r--r-- | components/drivers/spi/SConscript | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/components/drivers/spi/SConscript b/components/drivers/spi/SConscript index fc608c46ae..df0ffb7141 100644 --- a/components/drivers/spi/SConscript +++ b/components/drivers/spi/SConscript @@ -7,10 +7,8 @@ src = ['dev_spi_core.c', 'dev_spi.c'] CPPPATH = [cwd, cwd + '/../include'] LOCAL_CFLAGS = '' -if GetDepend('RT_USING_SPI_BITOPS'): - src += ['dev_spi_bit_ops.c'] - if GetDepend('RT_USING_SOFT_SPI'): + src += ['dev_spi_bit_ops.c'] src += ['dev_soft_spi.c'] if GetDepend('RT_USING_QSPI'): |
