Skip to content

Commit c570e13

Browse files
committed
SFU: add missing return value to avoid warnings
1 parent 09f690a commit c570e13

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

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)