mirror of
https://github.com/espressif/esp-mqtt.git
synced 2025-08-04 05:05:12 +02:00
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:
committed by
David Čermák
parent
64f88b4412
commit
f6caaff254
@@ -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
|
||||
|
Reference in New Issue
Block a user