提交 d4ad48d8 编写于 作者: W Willian Chan

[bsp][stm32][f469-disco]Add "static" to some APIs.

Signed-off-by: NWillian Chan <chentingwei@rt-thread.com>
上级 14c5926f
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
/* SD Card hot plug detection pin */ /* SD Card hot plug detection pin */
#define SD_CHECK_PIN GET_PIN(G, 2) #define SD_CHECK_PIN GET_PIN(G, 2)
void _sdcard_mount(void) static void _sdcard_mount(void)
{ {
rt_device_t device; rt_device_t device;
...@@ -51,7 +51,7 @@ void _sdcard_mount(void) ...@@ -51,7 +51,7 @@ void _sdcard_mount(void)
} }
} }
void _sdcard_unmount(void) static void _sdcard_unmount(void)
{ {
rt_thread_mdelay(200); rt_thread_mdelay(200);
dfs_unmount("/"); dfs_unmount("/");
...@@ -62,7 +62,7 @@ void _sdcard_unmount(void) ...@@ -62,7 +62,7 @@ void _sdcard_unmount(void)
mmcsd_wait_cd_changed(RT_WAITING_FOREVER); mmcsd_wait_cd_changed(RT_WAITING_FOREVER);
} }
void sd_mount(void *parameter) static void sd_mount(void *parameter)
{ {
rt_uint8_t re_sd_check = 1; rt_uint8_t re_sd_check = 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册