Skip to content

Commit f0f0252

Browse files
authored
Merge pull request #824 from pennam/sfu_warnings
SFU: add missing return value to avoid warnings
2 parents d4afbb1 + c570e13 commit f0f0252

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Diff for: libraries/SFU/src/SFU.cpp

+5-2
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,17 @@ int SFU::begin() {
2121
if (err) {
2222
err = getFileSystem().reformat(&bd);
2323
}
24+
return err;
2425
}
2526

2627
int SFU::download(const char* url) {
27-
// No download at the moment, allow the user to upload a file via mass storage
28+
// No download at the moment, allow the user to upload a file via mass storage
29+
return 0;
2830
}
2931

3032
int SFU::apply() {
31-
// No autoreboot
33+
// No autoreboot
34+
return 0;
3235
}
3336

3437
#ifdef ADD_USB_MSD

0 commit comments

Comments
 (0)