Reduce the includes used in all files.

- To reduce the dependencies to the minimal the number of includes was
  reduced.
This commit is contained in:
Euripedes Rocha Filho
2021-02-19 14:02:31 +00:00
committed by Euripedes Rocha
parent fd2d04e687
commit 87fcce72c9
6 changed files with 36 additions and 42 deletions

View File

@@ -5,8 +5,6 @@
#include "esp_log.h"
#ifndef CONFIG_MQTT_CUSTOM_OUTBOX
static const char *TAG = "OUTBOX";
typedef struct outbox_item {
@@ -151,7 +149,7 @@ esp_err_t outbox_set_tick(outbox_handle_t outbox, int msg_id, outbox_tick_t tick
item->tick = tick;
return ESP_OK;
}
return ESP_FAIL;
return ESP_FAIL;
}
esp_err_t outbox_delete_msgtype(outbox_handle_t outbox, int msg_type)