mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-20 17:44:20 +08:00
Merge pull request #886 from weety/rtt3_0_dm365
[BSP] use main() in dm365 bsp.
This commit is contained in:
@@ -483,3 +483,4 @@ void rt_mmcsd_blk_init(void)
|
||||
{
|
||||
/* nothing */
|
||||
}
|
||||
|
||||
|
||||
@@ -33,8 +33,8 @@
|
||||
#define RT_SDIO_THREAD_PRIORITY 0x40
|
||||
#endif
|
||||
|
||||
static rt_list_t sdio_cards;
|
||||
static rt_list_t sdio_drivers;
|
||||
static rt_list_t sdio_cards = RT_LIST_OBJECT_INIT(sdio_cards);
|
||||
static rt_list_t sdio_drivers = RT_LIST_OBJECT_INIT(sdio_drivers);
|
||||
|
||||
struct sdio_card
|
||||
{
|
||||
@@ -1397,7 +1397,6 @@ rt_int32_t sdio_unregister_driver(struct rt_sdio_driver *driver)
|
||||
|
||||
void rt_sdio_init(void)
|
||||
{
|
||||
rt_list_init(&sdio_cards);
|
||||
rt_list_init(&sdio_drivers);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user