Skip to content

Commit

Permalink
Add File system code reference
Browse files Browse the repository at this point in the history
  • Loading branch information
luc-github committed Nov 3, 2023
1 parent a0d085b commit 3e843a4
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion esp3d/src/modules/webdav/webdav_server.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,25 @@
#include <list>
#include <utility>

#include "stdint.h"
#include "../../include/esp3d_config.h"

#if WEBDAV_FEATURE == FS_ROOT
#include "../filesystem/esp_globalFS.h"
typedef ESP_GBFile WebDavFile;
typedef ESP_GBFS WebDavFS;
#endif // WEBDAV_FEATURE == FS_ROOT

#if WEBDAV_FEATURE == FS_FLASH
#include "../filesystem/esp_filesystem.h"
typedef ESP_File WebDavFile;
typedef ESP_FileSystem WebDavFS;
#endif // WEBDAV_FEATURE == FS_FLASH

#if WEBDAV_FEATURE == FS_SD
#include "../filesystem/esp_sd.h"
typedef ESP_SDFile WebDavFile;
typedef ESP_SD WebDavFS;
#endif // WEBDAV_FEATURE == FS_SD

class WiFiServer;
class WiFiClient;
Expand Down

0 comments on commit 3e843a4

Please sign in to comment.