mirror of
https://github.com/esphome/esphome.git
synced 2026-09-21 20:18:43 +00:00
missing guard
This commit is contained in:
@@ -101,8 +101,10 @@ class SerialProxy : public uart::UARTDevice, public Component {
|
||||
void set_dtr_pin(GPIOPin *pin) { this->dtr_pin_ = pin; }
|
||||
|
||||
protected:
|
||||
#ifdef USE_API
|
||||
/// Read from UART and send to API client (slow path with 256-byte stack buffer)
|
||||
void read_and_send_(size_t available);
|
||||
#endif
|
||||
|
||||
/// Instance index for identifying this proxy in API messages
|
||||
uint32_t instance_index_{0};
|
||||
|
||||
Reference in New Issue
Block a user