Skip to content

Commit aecf113

Browse files
d-a-vearlephilhower
authored andcommitted
host emulation: littlefs was not fully enabled (#6342)
1 parent 17ee380 commit aecf113

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/host/common/ArduinoMain.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ static struct option options[] =
152152
void cleanup ()
153153
{
154154
mock_stop_spiffs();
155-
// mock_stop_littlefs();
155+
mock_stop_littlefs();
156156
mock_stop_uart();
157157
}
158158

@@ -182,7 +182,7 @@ int main (int argc, char* const argv [])
182182

183183
for (;;)
184184
{
185-
int n = getopt_long(argc, argv, "hlcfbvi:S:s:", options, NULL);
185+
int n = getopt_long(argc, argv, "hlcfbvi:S:s:L:", options, NULL);
186186
if (n < 0)
187187
break;
188188
switch (n)
@@ -239,7 +239,7 @@ int main (int argc, char* const argv [])
239239
name += "-littlefs";
240240
name += String(littlefs_kb > 0? littlefs_kb: -littlefs_kb, DEC);
241241
name += "KB";
242-
// mock_start_littlefs(name, littlefs_kb);
242+
mock_start_littlefs(name, littlefs_kb);
243243
}
244244

245245
// setup global global_ipv4_netfmt

0 commit comments

Comments
 (0)