mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-05 20:36:05 +08:00
fix some compilation errors is wifi disabled
This commit is contained in:
parent
5a45a91a07
commit
b19c0d6c81
3
.vscode/settings.json
vendored
Normal file
3
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"git.ignoreLimitWarning": true
|
||||
}
|
@ -321,4 +321,16 @@
|
||||
#define NOTIFICATION_ESP_ONLINE "Hi, %ESP_NAME% is now online at %ESP_IP%"
|
||||
#define ESP_NOTIFICATION_TITLE "ESP3D Notification"
|
||||
|
||||
#if !defined(WIFI_FEATURE) && !defined(ETH_FEATURE)
|
||||
#undef HTTP_FEATURE
|
||||
#undef TELNET_FEATURE
|
||||
#undef WEBDAV_FEATURE
|
||||
#undef FTP_FEATURE
|
||||
#undef WEB_UPDATE_FEATURE
|
||||
#undef CAPTIVE_PORTAL_FEATURE
|
||||
#undef SSDP_FEATURE
|
||||
#undef MDNS_FEATURE
|
||||
#undef NOTIFICATION_FEATURE
|
||||
#endif
|
||||
|
||||
#endif //_CONFIGURATION_H
|
||||
|
@ -18,7 +18,6 @@
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#include "../../include/esp3d_config.h"
|
||||
#if defined (WIFI_FEATURE)
|
||||
#include "../commands.h"
|
||||
#include "../esp3doutput.h"
|
||||
#include "../settings_esp3d.h"
|
||||
@ -302,5 +301,3 @@ bool Commands::ESP0(const char* cmd_params, level_authenticate_type auth_type, E
|
||||
}
|
||||
return response;
|
||||
}
|
||||
|
||||
#endif //WIFI_FEATURE
|
||||
|
Loading…
x
Reference in New Issue
Block a user