mirror of
https://github.com/esphome/esphome.git
synced 2026-09-03 19:46:02 +00:00
[api] Keep write_raw_slow_ protected to not break subclass member visibility
This commit is contained in:
@@ -217,8 +217,7 @@ class APIFrameHelper {
|
||||
return this->write_raw_slow_(iov, iovcnt, total_write_len, sent);
|
||||
}
|
||||
|
||||
private:
|
||||
// Slow path: handle partial writes, errors, overflow buffering
|
||||
// Slow path: handle partial writes, errors, overflow buffering (private — only called by write_raw_inline_)
|
||||
APIError write_raw_slow_(const void *data, uint16_t len, ssize_t sent);
|
||||
APIError write_raw_slow_(const struct iovec *iov, int iovcnt, uint16_t total_write_len, ssize_t sent);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user