diff options
| author | Abner <[email protected]> | 2024-04-16 13:46:49 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2024-04-16 18:48:37 +0800 |
| commit | a2bec29019e70fb49b9b2b7afcae0888982c2fdd (patch) | |
| tree | fb8f61f415220d154ceea4c893b20e16d489d029 /bsp | |
| parent | bbac8e954d66b5ad92dc88c0de9c4e9b1c4f98cd (diff) | |
[bsp][nxp]增加了drv_filesystem_spi_flash驱动
Diffstat (limited to 'bsp')
| -rw-r--r-- | bsp/nxp/mcx/mcxn/frdm-mcxn947/board/ports/drv_filesystem_spi_flash.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bsp/nxp/mcx/mcxn/frdm-mcxn947/board/ports/drv_filesystem_spi_flash.c b/bsp/nxp/mcx/mcxn/frdm-mcxn947/board/ports/drv_filesystem_spi_flash.c index 72704346ac..de993e45bf 100644 --- a/bsp/nxp/mcx/mcxn/frdm-mcxn947/board/ports/drv_filesystem_spi_flash.c +++ b/bsp/nxp/mcx/mcxn/frdm-mcxn947/board/ports/drv_filesystem_spi_flash.c @@ -42,11 +42,11 @@ static int filesystem_mount(void) { struct rt_spi_device *spi70 = (struct rt_spi_device *)rt_malloc(sizeof(struct rt_spi_device)); - if(!spi70) - { - rt_kprintf("spi sample run failed! can't find %s device!\n","spi7"); + if(!spi70) + { + rt_kprintf("spi sample run failed! can't find %s device!\n","spi7"); return -RT_ERROR; - } + } struct rt_spi_configuration cfg; cfg.data_width = 8; |
