mirror of
https://github.com/espressif/esp-mqtt.git
synced 2026-08-31 06:10:07 +00:00
Merge branch 'fix-old-style-declaration' into 'master'
MR: chore: Clean old-style declaration to avoid warning See merge request espressif/esp-mqtt!331
This commit is contained in:
+3
-3
@@ -31,9 +31,9 @@ static const char *TAG = "mqtt_client";
|
||||
ESP_EVENT_DEFINE_BASE(MQTT_EVENTS);
|
||||
#endif
|
||||
|
||||
const static int STOPPED_BIT = (1 << 0);
|
||||
const static int RECONNECT_BIT = (1 << 1);
|
||||
const static int DISCONNECT_BIT = (1 << 2);
|
||||
static const int STOPPED_BIT = (1 << 0);
|
||||
static const int RECONNECT_BIT = (1 << 1);
|
||||
static const int DISCONNECT_BIT = (1 << 2);
|
||||
|
||||
static esp_err_t esp_mqtt_dispatch_event(esp_mqtt_client_handle_t client);
|
||||
static esp_err_t esp_mqtt_dispatch_event_with_msgid(esp_mqtt_client_handle_t client);
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
static const char *TAG = "publish_test";
|
||||
|
||||
static EventGroupHandle_t mqtt_event_group;
|
||||
const static int CONNECTED_BIT = BIT0;
|
||||
static const int CONNECTED_BIT = BIT0;
|
||||
#define CLIENT_ID_SUFFIX_SIZE 12
|
||||
#if CONFIG_EXAMPLE_BROKER_CERTIFICATE_OVERRIDDEN == 1
|
||||
static const uint8_t mqtt_eclipseprojects_io_pem_start[] = "-----BEGIN CERTIFICATE-----\n"
|
||||
|
||||
Reference in New Issue
Block a user