|
@@ -72,7 +72,7 @@ private:
|
|
|
bool _httpEnable = false;
|
|
bool _httpEnable = false;
|
|
|
bool _isrRegistered = false;
|
|
bool _isrRegistered = false;
|
|
|
GpioIsrContext _isrContext = {};
|
|
GpioIsrContext _isrContext = {};
|
|
|
- int currentState = -1;
|
|
|
|
|
|
|
+ std::atomic<int> currentState{-1};
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
esp_err_t callHandleHttpRequest(httpd_req_t *req);
|
|
esp_err_t callHandleHttpRequest(httpd_req_t *req);
|