diff --git a/WifiInterface.cpp b/WifiInterface.cpp index 459bd09..8020d85 100644 --- a/WifiInterface.cpp +++ b/WifiInterface.cpp @@ -130,6 +130,11 @@ wifiSerialState WifiInterface::setup(Stream & setupStream, const __FlashStringH return wifiState; } +#ifdef DONT_TOUCH_WIFI_CONF +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wunused-variable" +#pragma GCC diagnostic ignored "-Wunused-parameter" +#endif wifiSerialState WifiInterface::setup2(const __FlashStringHelper* SSid, const __FlashStringHelper* password, const __FlashStringHelper* hostname, int port) { bool ipOK = false; @@ -267,6 +272,9 @@ wifiSerialState WifiInterface::setup2(const __FlashStringHelper* SSid, const __F return WIFI_CONNECTED; } +#ifdef DONT_TOUCH_WIFI_CONF +#pragma GCC diagnostic pop +#endif // This function is used to allow users to enter <+ commands> through the DCCEXParser