Improve:test compile.

This commit is contained in:
Fancy code 2024-07-20 21:21:27 +08:00
parent 6a107520f7
commit 280afb79c5
6 changed files with 2 additions and 2 deletions

View File

@ -51,6 +51,6 @@ void SdCardHalMock::MockSdCardInsert(std::shared_ptr<LinuxTest> &mock)
void SdCardHalMock::MockSdCardFormatResult(std::shared_ptr<LinuxTest> &mock, const int &result)
{
// TODO: improve
// LinuxTest::SetSystemCommandResult(mock, "mkfs.vfat", result);
// LinuxTest::SetSystemCommandResult(mock, "umount", result);
LinuxTest::SetSystemCommandResult(mock, "mkfs.vfat", result);
LinuxTest::SetSystemCommandResult(mock, "umount", result);
}