Merge pull request #886 from weety/rtt3_0_dm365

[BSP] use main() in dm365 bsp.
This commit is contained in:
Bernard Xiong
2017-10-20 12:42:58 +08:00
committed by GitHub
13 changed files with 161 additions and 296 deletions
+1
View File
@@ -483,3 +483,4 @@ void rt_mmcsd_blk_init(void)
{
/* nothing */
}
+3 -4
View File
@@ -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);
}