mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 13:42:47 +00:00
Removed unneeded inittarget() calls
thanks @profi200!
This commit is contained in:
parent
10cbc3b3b8
commit
7b8b11123a
@ -274,7 +274,6 @@ int NO_INLINE sdmmc_nand_readsectors(uint32_t sector_no, uint32_t numsectors, ui
|
||||
handelNAND.rData = out;
|
||||
handelNAND.size = numsectors << 9;
|
||||
sdmmc_send_command(&handelNAND,0x33C12,sector_no);
|
||||
inittarget(&handelSD);
|
||||
return geterror(&handelNAND);
|
||||
}
|
||||
|
||||
@ -291,7 +290,6 @@ int NO_INLINE sdmmc_nand_writesectors(uint32_t sector_no, uint32_t numsectors, c
|
||||
handelNAND.tData = in;
|
||||
handelNAND.size = numsectors << 9;
|
||||
sdmmc_send_command(&handelNAND,0x52C19,sector_no);
|
||||
inittarget(&handelSD);
|
||||
return geterror(&handelNAND);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user