Fix WSS default port selection through menuconfig.

Evaluate the correct define to select default port.

 - Closes https://github.com/espressif/esp-mqtt/issues/223
This commit is contained in:
Euripedes Rocha authored and David Čermák committed 2022-05-17 07:16:07 +00:00
1 parent 64f88b4412
commit f6caaff254
1 file changed
+1 -1
+1 -1
View File
@@ -60,7 +60,7 @@
#define MQTT_WS_DEFAULT_PORT 80
#endif
#ifdef MQTT_WSS_DEFAULT_PORT
#ifdef CONFIG_MQTT_WSS_DEFAULT_PORT
#define MQTT_WSS_DEFAULT_PORT CONFIG_MQTT_WSS_DEFAULT_PORT
#else
#define MQTT_WSS_DEFAULT_PORT 443