From eec6f0e17de36ad15cba365b6cc5d57fa24af17f Mon Sep 17 00:00:00 2001 From: Euripedes Rocha Date: Mon, 31 May 2021 13:24:16 +0100 Subject: [PATCH] Removes unused defines. - mqtt_config.h had some defines that were not used. This removes them. Closes https://github.com/espressif/esp-mqtt/issues/194 --- lib/include/mqtt_config.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/include/mqtt_config.h b/lib/include/mqtt_config.h index ca96d0c..9921085 100644 --- a/lib/include/mqtt_config.h +++ b/lib/include/mqtt_config.h @@ -27,13 +27,6 @@ #define MQTT_BUFFER_SIZE_BYTE 1024 #endif -#define MQTT_MAX_HOST_LEN 64 -#define MQTT_MAX_CLIENT_LEN 32 -#define MQTT_MAX_USERNAME_LEN 32 -#define MQTT_MAX_PASSWORD_LEN 65 -#define MQTT_MAX_LWT_TOPIC 32 -#define MQTT_MAX_LWT_MSG 128 - #if CONFIG_MQTT_TASK_PRIORITY #define MQTT_TASK_PRIORITY CONFIG_MQTT_TASK_PRIORITY #else @@ -47,7 +40,6 @@ #endif #define MQTT_KEEPALIVE_TICK (120) -#define MQTT_CMD_QUEUE_SIZE (10) #define MQTT_NETWORK_TIMEOUT_MS (10000) #ifdef CONFIG_MQTT_TCP_DEFAULT_PORT