summaryrefslogtreecommitdiffstats
path: root/bootloader/x1000/boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader/x1000/boot.c')
-rw-r--r--bootloader/x1000/boot.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/bootloader/x1000/boot.c b/bootloader/x1000/boot.c
index f9e04d1223..bb9528ba3c 100644
--- a/bootloader/x1000/boot.c
+++ b/bootloader/x1000/boot.c
@@ -28,11 +28,9 @@
#include "power.h"
#include "boot-x1000.h"
-extern int init_disk(void);
-
void boot_rockbox(void)
{
- if(init_disk() != 0)
+ if(check_disk(true) != DISK_PRESENT)
return;
size_t max_size = 0;