remove emsesp namespace

This commit is contained in:
proddy
2025-11-22 22:34:14 +01:00
parent df9a10cb53
commit 132d1292ce
5 changed files with 19 additions and 19 deletions

View File

@@ -182,7 +182,7 @@ void WebDataService::device_data(AsyncWebServerRequest * request) {
for (const auto & emsdevice : EMSESP::emsdevices) {
if (emsdevice->unique_id() == id) {
// wait max 2.5 sec for updated data (post_send_delay is 2 sec)
for (uint16_t i = 0; i < (emsesp::TxService::POST_SEND_DELAY + 500) && EMSESP::wait_validate(); i++) {
for (uint16_t i = 0; i < (TxService::POST_SEND_DELAY + 500) && EMSESP::wait_validate(); i++) {
delay(1);
}
EMSESP::wait_validate(0); // reset in case of timeout