mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-05 14:20:41 +08:00
Add some sanity checks for FS
This commit is contained in:
parent
d4d2482fd1
commit
f9bf48544a
@ -108,4 +108,25 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**************************
|
||||
* FTP
|
||||
* ***********************/
|
||||
#if defined(FTP_FEATURE) && !defined(GLOBAL_FILESYSTEM_FEATURE)
|
||||
#if FTP_FEATURE == FS_ROOT
|
||||
#error FTP_FEATURE == FS_ROOT is not available because GLOBAL_FILESYSTEM_FEATURE is not enabled
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(FTP_FEATURE) && !defined(FILESYSTEM_FEATURE)
|
||||
#if FTP_FEATURE == FS_FLASH
|
||||
#error FTP_FEATURE == FS_FLASH is not available because FILESYSTEM_FEATURE is not enabled
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(FTP_FEATURE) && !defined(SD_DEVICE)
|
||||
#if FTP_FEATURE == FS_SD
|
||||
#error FTP_FEATURE == FS_SD is not available because SD_DEVICE is not enabled
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif //SANITY_ESP3D_H
|
||||
|
Loading…
x
Reference in New Issue
Block a user