mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-18 10:53:30 +08:00
[bsp][stm32][f469-disco]Add "static" to some APIs.
Signed-off-by: Willian Chan <chentingwei@rt-thread.com>
This commit is contained in:
parent
14c5926ff7
commit
d4ad48d893
@ -26,7 +26,7 @@
|
||||
/* SD Card hot plug detection pin */
|
||||
#define SD_CHECK_PIN GET_PIN(G, 2)
|
||||
|
||||
void _sdcard_mount(void)
|
||||
static void _sdcard_mount(void)
|
||||
{
|
||||
rt_device_t device;
|
||||
|
||||
@ -51,7 +51,7 @@ void _sdcard_mount(void)
|
||||
}
|
||||
}
|
||||
|
||||
void _sdcard_unmount(void)
|
||||
static void _sdcard_unmount(void)
|
||||
{
|
||||
rt_thread_mdelay(200);
|
||||
dfs_unmount("/");
|
||||
@ -62,7 +62,7 @@ void _sdcard_unmount(void)
|
||||
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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user