changes to compile standalone

This commit is contained in:
Proddy
2023-07-15 11:33:38 +02:00
parent 98dd25c5bb
commit 37724814be
2 changed files with 2 additions and 2 deletions

View File

@@ -197,7 +197,7 @@ const char * MqttClient::getClientId() const {
}
void MqttClient::loop() {
switch ((State)_state) { // TOOD modified by proddy for EMS-ESP compiling on osx
switch ((State)_state) { // modified by proddy for EMS-ESP compiling standalone
case State::disconnected:
#if defined(ARDUINO_ARCH_ESP32)
if (_useInternalTask == espMqttClientTypes::UseInternalTask::YES) {

View File

@@ -123,7 +123,7 @@ class MqttClient {
#elif defined(ARDUINO_ARCH_ESP8266) && EMC_ESP8266_MULTITHREADING
std::atomic<bool> _xSemaphore = false;
#elif defined(__linux__)
mutable std::mutex mtx; // TOOD modified by proddy for EMS-ESP
mutable std::mutex mtx; // modified by proddy for EMS-ESP compiling standalone
#endif
uint8_t _rxBuffer[EMC_RX_BUFFER_SIZE];