Skip to content

Commit 48fabcf

Browse files
author
Seppo Takalo
committed
Add EmulatedSD stubs that allow using files as a BlockDevice
1 parent ea48750 commit 48fabcf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

UNITTESTS/stubs/EmulatedSD.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ int EmulatedSD::deinit()
6161
{
6262
fclose(_p->fs);
6363
_p->fs = nullptr;
64+
return 0;
6465
}
6566

6667
int EmulatedSD::read(void *buffer, bd_addr_t addr, bd_size_t size)

0 commit comments

Comments
 (0)