mirror of https://github.com/ARMmbed/mbed-os.git
Clear _is_initialized flag during deinit
parent
21e6f47aa4
commit
954167fb40
|
@ -369,6 +369,9 @@ int SDBlockDevice::init()
|
||||||
|
|
||||||
int SDBlockDevice::deinit()
|
int SDBlockDevice::deinit()
|
||||||
{
|
{
|
||||||
|
_lock.lock();
|
||||||
|
_is_initialized = false;
|
||||||
|
_lock.unlock();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue