sdmmc: fix speed mode extension, add CheckMmcConnection for debug
This commit is contained in:
1 parent
b2f4e0c1b4
commit
9a41e19004
4 files changed
+17
-2
No files matched your search
@@ -65,7 +65,7 @@ namespace ams::sdmmc::impl {
|
||||
return (ext_csd[163] & (1u << 1)) != 0;
|
||||
}
|
||||
|
||||
constexpr bool GetDeviceType(const u8 *ext_csd) {
|
||||
constexpr u8 GetDeviceType(const u8 *ext_csd) {
|
||||
/* Get the DEVICE_TYPE register. */
|
||||
AMS_ABORT_UNLESS(ext_csd != nullptr);
|
||||
return ext_csd[196];
|
||||
|
||||
Reference in new issue
Block a user