refactor: convert simufatfs to C++17 (#6454)
This commit is contained in:
@@ -30,6 +30,8 @@
|
||||
#include <stddef.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <string>
|
||||
|
||||
#define __disable_irq()
|
||||
#define __enable_irq()
|
||||
|
||||
@@ -52,15 +54,10 @@ void stopEepromThread();
|
||||
|
||||
void simuMain();
|
||||
|
||||
#if !defined(SKIP_FATFS_DECLARATION) && !defined(SIMU_DISKIO)
|
||||
#define SIMU_USE_SDCARD
|
||||
#endif
|
||||
void simuFatfsSetPaths(const char * sdPath, const char * settingsPath);
|
||||
|
||||
#if defined(SIMU_USE_SDCARD)
|
||||
void simuFatfsSetPaths(const char * sdPath, const char * settingsPath);
|
||||
#else
|
||||
#define simuFatfsSetPaths(...)
|
||||
#endif
|
||||
std::string simuFatfsGetCurrentPath();
|
||||
std::string simuFatfsGetRealPath(const std::string &p);
|
||||
|
||||
#if defined(TRACE_SIMPGMSPACE)
|
||||
#undef TRACE_SIMPGMSPACE
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user