fixed build issues when enabling DEBUG_DETAIL_ON (#2509)

fixed build issues when enabling DEBUG_DETAIL_ON

added missing header when DEBUG_DETAIL_ON is enabled
This commit is contained in:
LordGuilly
2023-07-09 21:59:34 +01:00
committed by GitHub
parent 84707fb27a
commit 3497a86084
2 changed files with 7 additions and 2 deletions

View File

@@ -9,6 +9,11 @@
#include "cJSON.h"
#include "../../include/defines.h"
#if DEBUG_DETAIL_ON
#include "esp_timer.h"
#endif
static const char *TAG = "MQTT IF";
std::map<std::string, std::function<void()>>* connectFunktionMap = NULL;