mirror of
https://github.com/ratspeak/microReticulum
synced 2026-11-22 23:10:38 +00:00
WIP: Minor refactoring of examples.
This commit is contained in:
1 parent
0c902054db
commit
f155e39cf6
28 files changed
+326
-334
No files matched your search
@@ -246,7 +246,7 @@ void FileSystem::listDir(const char* dir) {
|
||||
//File file = SPIFFS.open(file_path, mode);
|
||||
//if (!file) {
|
||||
File* file = new File(SPIFFS.open(file_path, mode));
|
||||
if (file == null || !(*file)) {
|
||||
if (file == nullptr || !(*file)) {
|
||||
ERRORF("open_file: failed to open output file %s", file_path);
|
||||
return {RNS::Type::NONE};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user