style
This commit is contained in:
1 parent
bb0445d886
commit
607f1bb26c
14 files changed
+53
-33
No files matched your search
@@ -303,7 +303,7 @@ static int l_GetFromFlashMemSpiffs(lua_State *L) {
|
||||
// get size from spiffs itself !
|
||||
SendCommandNG(CMD_SPIFFS_STAT, (uint8_t *)destfilename, 32);
|
||||
PacketResponseNG resp;
|
||||
if (!WaitForResponseTimeout(CMD_SPIFFS_STAT, &resp, 2000))
|
||||
if (WaitForResponseTimeout(CMD_SPIFFS_STAT, &resp, 2000) == false)
|
||||
return returnToLuaWithError(L, "No response from the device");
|
||||
|
||||
len = resp.data.asDwords[0];
|
||||
|
||||
Reference in new issue
Block a user