From c570e134d7544b6cedc7e370e07c55d4f2c94621 Mon Sep 17 00:00:00 2001 From: pennam Date: Thu, 11 Jan 2024 09:33:29 +0100 Subject: [PATCH] SFU: add missing return value to avoid warnings --- libraries/SFU/src/SFU.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libraries/SFU/src/SFU.cpp b/libraries/SFU/src/SFU.cpp index 4f56b536e..b9c1a1a6d 100644 --- a/libraries/SFU/src/SFU.cpp +++ b/libraries/SFU/src/SFU.cpp @@ -21,14 +21,17 @@ int SFU::begin() { if (err) { err = getFileSystem().reformat(&bd); } + return err; } int SFU::download(const char* url) { - // No download at the moment, allow the user to upload a file via mass storage + // No download at the moment, allow the user to upload a file via mass storage + return 0; } int SFU::apply() { - // No autoreboot + // No autoreboot + return 0; } #ifdef ADD_USB_MSD