1
0
mirror of https://github.com/esphome/esphome.git synced 2025-06-21 15:55:39 +01:00

test disable no delay ()

* 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

@ -731,7 +731,7 @@ def build_service_message_type(mt):
cout += f'bool {class_name}::{func}(const {mt.name} &msg) {{\n'
if log:
cout += f' ESP_LOGVV(TAG, "{func}: %s", msg.dump().c_str());\n'
cout += f' this->set_nodelay({str(nodelay).lower()});\n'
# cout += f' this->set_nodelay({str(nodelay).lower()});\n'
cout += f' return this->send_message_<{mt.name}>(msg, {id_});\n'
cout += f'}}\n'
if source in (SOURCE_BOTH, SOURCE_CLIENT):