mirror of
https://github.com/esphome/esphome.git
synced 2025-06-21 15:55:39 +01:00
test disable no delay (#1026)
* test disable no delay * removed set_nodelay code
This commit is contained in:
committed by
GitHub
parent
d49ee47018
commit
14e9375262
esphome/components/api
script/api_protobuf
@ -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):
|
||||
|
Reference in New Issue
Block a user