forked from len0rd/rockbox
fix the last warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16622 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a0290607e0
commit
292f139f4c
1 changed files with 1 additions and 1 deletions
|
|
@ -262,7 +262,7 @@ static enum {
|
||||||
SENDING_CSW
|
SENDING_CSW
|
||||||
} state = WAITING_FOR_COMMAND;
|
} state = WAITING_FOR_COMMAND;
|
||||||
|
|
||||||
static bool check_disk_present(IF_MV(int volume))
|
static bool check_disk_present(IF_MV_NONVOID(int volume))
|
||||||
{
|
{
|
||||||
unsigned char sector[512];
|
unsigned char sector[512];
|
||||||
return ata_read_sectors(IF_MV2(volume,)0,1,sector) == 0;
|
return ata_read_sectors(IF_MV2(volume,)0,1,sector) == 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue