diff options
author | Björn Stenberg <bjorn@haxx.se> | 2002-10-10 12:01:58 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2002-10-10 12:01:58 +0000 |
commit | 4d55c2f4b7c207d32dc0d6fd055627e08f2b0561 (patch) | |
tree | 8a4caa296047120aec60977ebf76580a68f33e7e /firmware | |
parent | 1a7bc7edeff7a8295b0fdd76458d4ca504adcf6c (diff) |
Partition debug screen added, and jumped to when no fat32 partition is found at boot.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2558 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/common/disk.c | 6 | ||||
-rw-r--r-- | firmware/common/disk.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/firmware/common/disk.c b/firmware/common/disk.c index b662072d5f..b85f460a69 100644 --- a/firmware/common/disk.c +++ b/firmware/common/disk.c @@ -73,3 +73,9 @@ struct partinfo* disk_init(void) return part; } + +struct partinfo* disk_partinfo(int partition) +{ + return &part[partition]; +} + diff --git a/firmware/common/disk.h b/firmware/common/disk.h index 2d97e43d09..865b7bb4b4 100644 --- a/firmware/common/disk.h +++ b/firmware/common/disk.h @@ -30,5 +30,6 @@ struct partinfo { /* returns a pointer to an array of 8 partinfo structs */ struct partinfo* disk_init(void); +struct partinfo* disk_partinfo(int partition); #endif |