Skip to content

Commit ba39680

Browse files
committed
WiFiFileSystem: add missing return value
1 parent 1b27373 commit ba39680

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libraries/WiFiS3/src/WiFiFileSystem.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ size_t WiFiFileSystem::writefile(const char* name, const char* data, size_t size
2020
if(modem.passthrough((uint8_t *)data, size)) {
2121
return size;
2222
}
23+
return 0;
2324
}
2425

2526
/* -------------------------------------------------------------------------- */

0 commit comments

Comments
 (0)