Update esphome/components/api/api_frame_helper.h

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
J. Nick Koston
2026-01-21 18:10:23 -10:00
committed by GitHub
co-authored by Copilot
parent 900f875816
commit 1d9ca60c20
+1 -1
View File
@@ -143,7 +143,7 @@ class APIFrameHelper {
return;
}
// Log message: -1 -> 1 -> 2 -> -1 (flush)
// Log messages 1-3: state transitions -1 -> 1 -> 2 -> -1 (flush on 3rd)
if (this->nodelay_state_ == NODELAY_ON) {
this->set_nodelay_raw_(false);
this->nodelay_state_ = 1;