diff --git a/main/espnowfunctions.cpp b/main/espnowfunctions.cpp index 8aa4724..c96b188 100644 --- a/main/espnowfunctions.cpp +++ b/main/espnowfunctions.cpp @@ -1,4 +1,3 @@ -constexpr const char * const TAG = "BOBBY_ESP_NOW"; #ifdef FEATURE_ESPNOW #include "espnowfunctions.h" @@ -14,6 +13,9 @@ constexpr const char * const TAG = "BOBBY_ESP_NOW"; #include "time_bobbycar.h" namespace espnow { +namespace { +constexpr const char * const TAG = "BOBBY_ESP_NOW"; +} // namespace uint16_t lastYear; // Used for esp-now timesync