fss: how many commits does it take to fix one line of code?
This commit is contained in:
1 parent
7c8d126f23
commit
ed37c149d1
1 file changed
+1
-1
@@ -316,7 +316,7 @@ int nxfs_mount_all(void) {
|
|||||||
model = g_mmc_devpart_template;
|
model = g_mmc_devpart_template;
|
||||||
model.device_struct = &g_emmc_user_mmcpart;
|
model.device_struct = &g_emmc_user_mmcpart;
|
||||||
model.start_sector = 0;
|
model.start_sector = 0;
|
||||||
model.num_sectors = *(uint32_t*)g_emmc_user_mmcpart.device->ext_csd.raw_sectors[0];
|
model.num_sectors = *(uint32_t*)&g_emmc_user_mmcpart.device->ext_csd.raw_sectors[0];
|
||||||
|
|
||||||
rc = rawdev_mount_device("rawnand", &model, false);
|
rc = rawdev_mount_device("rawnand", &model, false);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user