MKS WiFi preliminary changes

This commit is contained in:
Scott Lahteine
2020-11-19 15:51:53 -06:00
committed by Scott Lahteine
parent 5ef1d053eb
commit f1b32b808f
33 changed files with 132 additions and 156 deletions

View File

@@ -23,10 +23,10 @@
#include "tft_lvgl_configuration.h"
#if ENABLED(USE_WIFI_FUNCTION)
#if ENABLED(MKS_WIFI_MODULE)
#if SERIAL_PORT_2 != -1
#error "SERIAL_PORT_2 must be set to -1 with HAS_TFT_LVGL_UI and USE_WIFI_FUNCTION."
#ifdef SERIAL_PORT_2
#error "SERIAL_PORT_2 must be disabled with HAS_TFT_LVGL_UI and MKS_WIFI_MODULE."
#endif
#define WIFI_BAUDRATE 115200
@@ -99,4 +99,4 @@ extern WifiSerial WifiSerial1;
#define WIFISERIAL WifiSerial1
#endif // USE_WIFI_FUNCTION
#endif // MKS_WIFI_MODULE