fusee-secondary: fix previous generalization

This commit is contained in:
Michael Scire 2019-03-06 05:55:35 -08:00
parent c9b88f0404
commit 7c8d126f23

View file

@ -316,7 +316,7 @@ int nxfs_mount_all(void) {
model = g_mmc_devpart_template;
model.device_struct = &g_emmc_user_mmcpart;
model.start_sector = 0;
model.num_sectors = g_emmc_user_mmcpart.device->ext_csd.sectors;
model.num_sectors = *(uint32_t*)g_emmc_user_mmcpart.device->ext_csd.raw_sectors[0];
rc = rawdev_mount_device("rawnand", &model, false);