[bsp] format drivers code
This commit is contained in:
parent
1dc436feca
commit
814c37d4e3
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* COPYRIGHT (C) 2012-2022, Shanghai Real-Thread Technology Co., Ltd
|
||||
* COPYRIGHT (C) 2012-2024, Shanghai Real-Thread Technology Co., Ltd
|
||||
* All rights reserved.
|
||||
* Change Logs:
|
||||
* Date Author Notes
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* COPYRIGHT (C) 2012-2022, Shanghai Real-Thread Technology Co., Ltd
|
||||
* COPYRIGHT (C) 2012-2024, Shanghai Real-Thread Technology Co., Ltd
|
||||
* All rights reserved.
|
||||
* Change Logs:
|
||||
* Date Author Notes
|
||||
|
|
|
@ -598,7 +598,7 @@ int rthw_sdctrl_init(void)
|
|||
|
||||
#endif
|
||||
normalIrqFlgs |= NORMAL_IRQ_CC;
|
||||
/* register handler、irq enable bit and wait callback */
|
||||
/* register handler irq enable bit and wait callback */
|
||||
FSdCtrl_SetHandler(ft_sdctrl_p, FTSDCTRL_CMDIRQID, rthw_sdctrl_nomarl_callback, ft_sdctrl_p);
|
||||
FSdCtrl_NormalIrqSet(ft_sdctrl_p, normalIrqFlgs);
|
||||
FSdCtrl_CmdWaitRegister(ft_sdctrl_p, rthw_sdctrl_cmd_wait);
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#define LOG_TAG "drv.sdio"
|
||||
#include "drv_log.h"
|
||||
|
||||
#define SDIO_DMA_USE_IPC 0//1:使用ipc做同步
|
||||
#define SDIO_DMA_USE_IPC 0//1:使用ipc做同步
|
||||
|
||||
/* card status of R1 definitions */
|
||||
#define SD_R1_OUT_OF_RANGE BIT(31) /* command's argument was out of the allowed range */
|
||||
|
|
Loading…
Reference in New Issue