Rename WEBSERVER_PORT define to USE_WEBSERVER_PORT (#3102)

This commit is contained in:
Oxan van Leeuwen authored and GitHub committed 2022-01-24 00:34:38 +01:00
1 parent 2a84db7f85
commit c2ee0f0864
6 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -805,7 +805,7 @@ DeviceInfoResponse APIConnection::device_info(const DeviceInfoRequest &msg) {
resp.project_version = ESPHOME_PROJECT_VERSION;
#endif
#ifdef USE_WEBSERVER
resp.webserver_port = WEBSERVER_PORT;
resp.webserver_port = USE_WEBSERVER_PORT;
#endif
return resp;
}