| 112 | } |
| 113 | |
| 114 | void WebClient::executeCommandBackground(const char* cmd) { |
| 115 | xBufferLock.lock(); |
| 116 | cmds.push_back(std::string(cmd)); |
| 117 | WebClient* _this = this; |
| 118 | xQueueSend(WebClients::_background_task_queue, &_this, portTICK_PERIOD_MS * 100); |
| 119 | xBufferLock.unlock(); |
| 120 | } |
| 121 | |
| 122 | size_t WebClient::write(const uint8_t* buffer, size_t length) { |
| 123 | if (_silent || !_active) { |
no test coverage detected