1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-27 15:42:22 +01:00

test disable no delay (#1026)

* test disable no delay

* removed set_nodelay code
This commit is contained in:
Guillermo Ruffino
2020-04-30 23:00:57 -03:00
committed by GitHub
parent d49ee47018
commit 14e9375262
5 changed files with 1 additions and 43 deletions

View File

@@ -266,7 +266,6 @@ class ProtoService {
virtual ProtoWriteBuffer create_buffer() = 0;
virtual bool send_buffer(ProtoWriteBuffer buffer, uint32_t message_type) = 0;
virtual bool read_message(uint32_t msg_size, uint32_t msg_type, uint8_t *msg_data) = 0;
virtual void set_nodelay(bool nodelay) = 0;
template<class C> bool send_message_(const C &msg, uint32_t message_type) {
auto buffer = this->create_buffer();