Disable photo partition for now

Fixes #206
This commit is contained in:
RocketRobz 2022-12-31 23:13:09 -07:00
parent 5a73c67774
commit 7af7377efa

View File

@ -120,18 +120,18 @@ bool nandMount(void) {
} }
// Photo partition // Photo partition
mbr_t mbr; /* mbr_t mbr;
io_dsi_nand.readSectors(0, 1, &mbr); io_dsi_nand.readSectors(0, 1, &mbr);
fatMount("photo", &io_dsi_nand, mbr.partitions[1].offset, 16, 8); fatMount("photo", &io_dsi_nand, mbr.partitions[1].offset, 16, 8);
if (photoFound() && statvfs("photo:/", &st) == 0) { if (photoFound() && statvfs("photo:/", &st) == 0) {
photoSize = st.f_bsize * st.f_blocks; photoSize = st.f_bsize * st.f_blocks;
photoMounted = true; photoMounted = true;
} } */
} }
return nandMounted && photoMounted; return nandMounted /*&& photoMounted*/;
} }
void nandUnmount(void) { void nandUnmount(void) {