File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 37
37
38
38
void my_touchInit ();
39
39
void my_installSystemFIFO (void );
40
+ void my_sdmmc_get_cid (int devicenumber , u32 * cid );
40
41
41
42
u8 my_i2cReadRegister (u8 device , u8 reg );
42
43
u8 my_i2cWriteRegister (u8 device , u8 reg , u8 data );
@@ -348,7 +349,7 @@ int main() {
348
349
}
349
350
350
351
if (* (u32 * )(0x2FFFD0C ) == 0x454D4D43 ) {
351
- sdmmc_nand_cid ( (u32 * )0x2FFD7BC ); // Get eMMC CID
352
+ my_sdmmc_get_cid (true, (u32 * )0x2FFD7BC ); // Get eMMC CID
352
353
* (u32 * )(0x2FFFD0C ) = 0 ;
353
354
}
354
355
swiWaitForVBlank ();
Original file line number Diff line number Diff line change 37
37
38
38
void my_touchInit ();
39
39
void my_installSystemFIFO (void );
40
+ void my_sdmmc_get_cid (int devicenumber , u32 * cid );
40
41
41
42
u8 my_i2cReadRegister (u8 device , u8 reg );
42
43
u8 my_i2cWriteRegister (u8 device , u8 reg , u8 data );
@@ -353,7 +354,7 @@ int main() {
353
354
}
354
355
355
356
if (* (u32 * )(0x2FFFD0C ) == 0x454D4D43 ) {
356
- sdmmc_nand_cid ( (u32 * )0x2FFD7BC ); // Get eMMC CID
357
+ my_sdmmc_get_cid (true, (u32 * )0x2FFD7BC ); // Get eMMC CID
357
358
* (u32 * )(0x2FFFD0C ) = 0 ;
358
359
}
359
360
You can’t perform that action at this time.
0 commit comments