From e66ddd754fba4171e3fd99c5a1b911ed3f9faa3f Mon Sep 17 00:00:00 2001 From: Mark Arigo Date: Wed, 9 Jan 2008 07:24:43 +0000 Subject: Initial commit for the Olympus m:robe 100 port (PP5020). The LCD driver works. The ADC driver was copied from the H10 port (they can probably be combined later), but the battery readings aren't right and it shuts down. The touch pad buttons do not work. Install the bootloader and rockbox the H10 way. Still lots of work to do. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16030 a1c6a512-1295-4272-9138-f99709370657 --- firmware/common/disk.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'firmware/common') diff --git a/firmware/common/disk.c b/firmware/common/disk.c index cb35a8d7b0..9fb73f0070 100644 --- a/firmware/common/disk.c +++ b/firmware/common/disk.c @@ -137,7 +137,6 @@ static int get_free_volume(void) int disk_mount(int drive) { - int i; int mounted = 0; /* reset partition-on-drive flag */ int volume = get_free_volume(); struct partinfo* pinfo = disk_init(IF_MV(drive)); @@ -146,14 +145,14 @@ int disk_mount(int drive) { return 0; } -#ifndef ELIO_TPJ1022 +#if !defined(ELIO_TPJ1022) && !defined(MROBE_100) /* The Elio's hard drive has no partition table and probing for partitions causes Rockbox to crash - so we temporarily disable the probing until we fix the real problem. */ #ifdef TOSHIBA_GIGABEAT_S - i = 1; /* For the Gigabeat S, we mount the second partition */ + int i = 1; /* For the Gigabeat S, we mount the second partition */ #else - i = 0; + int i = 0; #endif for (; volume != -1 && i<4; i++) { -- cgit v1.2.3