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.
1 parent f10a895 commit 29b412cCopy full SHA for 29b412c
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