We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7b645b7 + 29b412c commit 5f61c3fCopy full SHA for 5f61c3f
libraries/Portenta_SDCARD/src/SDMMCBlockDevice.cpp
@@ -115,6 +115,7 @@ int SDMMCBlockDevice::deinit()
115
_sd_state = BSP_SD_DeInit ();
116
if(_sd_state != MSD_OK) {
117
debug_if (SD_DBG, "SD card deinitialization failed\n");
118
+ unlock();
119
return SD_BLOCK_DEVICE_ERROR;
120
}
121
_is_initialized = false;
0 commit comments