mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
Remove unused card_detect(), and make card_detect_target() static inline in each sd driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23757 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
82bbd1ed9f
commit
ee7cf6c63c
7 changed files with 42 additions and 50 deletions
|
|
@ -1200,7 +1200,7 @@ int sd_init(void)
|
|||
return -1;
|
||||
}
|
||||
|
||||
bool card_detect_target(void)
|
||||
static inline bool card_detect_target(void)
|
||||
{
|
||||
return (jz_sd_chkcard() == 1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue