Skip to content

Commit 24ae4fa

Browse files
committed
Add missing return statement for edge case
1 parent a340dce commit 24ae4fa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/InternalStorage.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ bool InternalStorage::begin(){
5252
}
5353
int err = this -> userDataFileSystem -> mount(this -> userData);
5454
return err == 0 ? true : false;
55+
#else
56+
return false; // Unsupported board
5557
#endif
5658
}
5759

0 commit comments

Comments
 (0)