diff options
-rw-r--r-- | apps/main.c | 3 | ||||
-rw-r--r-- | firmware/common/disk.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/apps/main.c b/apps/main.c index 8d3c170187..7e853556ac 100644 --- a/apps/main.c +++ b/apps/main.c | |||
@@ -126,7 +126,8 @@ void init(void) | |||
126 | panicf("disk: NULL"); | 126 | panicf("disk: NULL"); |
127 | 127 | ||
128 | for ( i=0; i<4; i++ ) { | 128 | for ( i=0; i<4; i++ ) { |
129 | if ( pinfo[i].type == PARTITION_TYPE_FAT32 ) { | 129 | if ( pinfo[i].type == PARTITION_TYPE_FAT32 || |
130 | pinfo[i].type == PARTITION_TYPE_FAT32_LBA ) { | ||
130 | rc = fat_mount(pinfo[i].start); | 131 | rc = fat_mount(pinfo[i].start); |
131 | if(rc) | 132 | if(rc) |
132 | panicf("mount: %d",rc); | 133 | panicf("mount: %d",rc); |
diff --git a/firmware/common/disk.h b/firmware/common/disk.h index d8e1bc5ddd..2d97e43d09 100644 --- a/firmware/common/disk.h +++ b/firmware/common/disk.h | |||
@@ -25,7 +25,8 @@ struct partinfo { | |||
25 | unsigned char type; | 25 | unsigned char type; |
26 | }; | 26 | }; |
27 | 27 | ||
28 | #define PARTITION_TYPE_FAT32 0x0c | 28 | #define PARTITION_TYPE_FAT32 0x0b |
29 | #define PARTITION_TYPE_FAT32_LBA 0x0c | ||
29 | 30 | ||
30 | /* returns a pointer to an array of 8 partinfo structs */ | 31 | /* returns a pointer to an array of 8 partinfo structs */ |
31 | struct partinfo* disk_init(void); | 32 | struct partinfo* disk_init(void); |