mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-13 23:22:34 -05:00
Fix red in dc9d354ed2
Change-Id: Ic6639e85c42f7ebf435ebad2740e921b7b932ead
This commit is contained in:
parent
dc9d354ed2
commit
856e3d548b
2 changed files with 4 additions and 4 deletions
|
|
@ -513,7 +513,7 @@ void volume_size(IF_MV(int volume,) unsigned long *sizep, unsigned long *freep)
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined (HAVE_HOTSWAP) || defined (HAVE_MULTIDRIVE) \
|
#if defined (HAVE_HOTSWAP) || defined (HAVE_MULTIDRIVE) \
|
||||||
|| defined (HAVE_DIRCACHE)
|
|| defined (HAVE_DIRCACHE) || defined(HAVE_BOOTDATA)
|
||||||
enum volume_info_type
|
enum volume_info_type
|
||||||
{
|
{
|
||||||
#ifdef HAVE_HOTSWAP
|
#ifdef HAVE_HOTSWAP
|
||||||
|
|
@ -592,4 +592,4 @@ bool volume_ismounted(IF_MV_NONVOID(int volume))
|
||||||
#endif /* HAVE_DIRCACHE */
|
#endif /* HAVE_DIRCACHE */
|
||||||
|
|
||||||
|
|
||||||
#endif /* HAVE_HOTSWAP || HAVE_MULTIDRIVE || HAVE_DIRCACHE */
|
#endif /* HAVE_HOTSWAP || HAVE_MULTIDRIVE || HAVE_DIRCACHE || HAVE_BOOTDATA */
|
||||||
|
|
|
||||||
|
|
@ -152,8 +152,8 @@ static inline bool multiboot_is_boot_volume(int volume)
|
||||||
return volume_drive(volume) == 0;
|
return volume_drive(volume) == 0;
|
||||||
#else
|
#else
|
||||||
/* FIXME: Anything else that can get here is a Sansa. */
|
/* FIXME: Anything else that can get here is a Sansa. */
|
||||||
return volume_drive(volume) == boot_data.boot_volume ||
|
return volume_drive(volume) == boot_data._boot_volume ||
|
||||||
volume == boot_data.boot_volume;
|
volume == boot_data._boot_volume;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue