Change MG_PATH_MAX for ESP8266

This commit is contained in:
Sergey Lyubka 2021-10-30 19:34:53 +01:00
parent 4e523cc455
commit b17f4108ea
2 changed files with 10 additions and 0 deletions

View File

@ -229,8 +229,13 @@ static __inline struct tm *localtime_r(time_t *t, struct tm *tm) {
#include <esp_system.h>
#undef MG_PATH_MAX
#undef MG_ENABLE_DIRLIST
#define MG_DIRSEP '/'
#define MG_INT64_FMT "%lld"
#define MG_PATH_MAX 128
#define MG_ENABLE_DIRLIST 1
#endif

View File

@ -21,7 +21,12 @@
#include <esp_system.h>
#undef MG_PATH_MAX
#undef MG_ENABLE_DIRLIST
#define MG_DIRSEP '/'
#define MG_INT64_FMT "%lld"
#define MG_PATH_MAX 128
#define MG_ENABLE_DIRLIST 1
#endif