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:
@ -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
|
||||
|
Reference in New Issue
Block a user