WIP: Minor refactoring of examples.

This commit is contained in:
Chad Attermann committed 2025-08-24 20:52:38 -06:00
1 parent 0c902054db
commit f155e39cf6
28 files changed
+326 -334

No files matched your search

+1 -1
View File
@@ -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};
}