1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-24 19:42:27 +03:00

Resolve naming conflicts between FS and SD library

This commit is contained in:
Ivan Grokhotkov
2015-08-05 08:36:43 -04:00
parent be2303f198
commit 5cbaa57af9
6 changed files with 19 additions and 3 deletions

View File

@ -24,6 +24,8 @@
#include <Arduino.h>
#include <memory>
namespace fs {
class File;
class Dir;
@ -106,6 +108,12 @@ protected:
};
} // namespace fs
using fs::FS;
using fs::File;
using fs::Dir;
extern FS SPIFFS;
#endif //FS_H