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) {