From c22812413ccf5f4d2ec64469839b7550cbfc5e97 Mon Sep 17 00:00:00 2001 From: steve Date: Sat, 18 Nov 2023 10:58:15 +0000 Subject: [PATCH] bugfix --- flash_filer.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/flash_filer.cpp b/flash_filer.cpp index 877291c..05847c0 100644 --- a/flash_filer.cpp +++ b/flash_filer.cpp @@ -141,8 +141,10 @@ const char *flash_filer::checkpoint() { hardware_checkpoint(file); file.close(); start(); -#endif return buf; +#else + return ""; +#endif } void flash_filer::restore(const char *filename) {