khoih-prog / EthernetWebServer

This is simple yet complete WebServer library for AVR, AVR Dx, Portenta_H7, Teensy, SAM DUE, SAMD21/SAMD51, nRF52, STM32, RP2040-based, etc. boards running Ethernet shields. The functions are similar and compatible to ESP8266/ESP32 WebServer libraries to make life much easier to port sketches from ESP8266/ESP32. Coexisting now with `ESP32 WebServer` and `ESP8266 ESP8266WebServer` libraries. Ethernet_Generic library is used as default for W5x00 with custom SPI
MIT License
178 stars 49 forks source link

Update EthernetWebServer.hpp #64

Closed hunter2409 closed 2 years ago

hunter2409 commented 2 years ago

Include support for Mysensor Sensebender Gateway

khoih-prog commented 2 years ago

Hi @hunter2409

Thanks for your usage of the library and your PR.

However, the definition of USE_ETHERNET has been deprecated some time ago and is not currently used and necessary in new releases (possibly from v2.1.0 when Ethernet_Generic was introduced).

Please update all instances of USE_ETHERNET to USE_ETHERNET_GENERIC and you'll be OK.

https://github.com/khoih-prog/EthernetWebServer/blob/909a774fd9679e2ca8e7200cc1b9b0c8299233ed/examples/WebClient/defines.h#L365-L369

I'm closing the PR as not necessary now.

Regards,

hunter2409 commented 2 years ago

Thanks