MKS WiFi preliminary changes
This commit is contained in:
committed by
Scott Lahteine
parent
5ef1d053eb
commit
f1b32b808f
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user