Drop incomplete method list from thread safety comment

This commit is contained in:
J. Nick Koston
2026-02-12 08:32:45 -06:00
parent 046fca2be6
commit 750b0a7d00
@@ -10,11 +10,11 @@ namespace esphome::uart {
/// ESP-IDF UART driver wrapper.
///
/// Thread safety: All public methods (read_array, write_array, peek_byte, available, flush,
/// load_settings) must only be called from the main loop. The ESP-IDF UART driver API does not
/// guarantee thread safety, and ESPHome's peek byte state (has_peek_/peek_byte_) is not
/// synchronized. The rx_event_task (when enabled) must not call any of these methods — it
/// communicates with the main loop exclusively via App.wake_loop_threadsafe().
/// Thread safety: All public methods must only be called from the main loop.
/// The ESP-IDF UART driver API does not guarantee thread safety, and ESPHome's
/// peek byte state (has_peek_/peek_byte_) is not synchronized. The rx_event_task
/// (when enabled) must not call any of these methods — it communicates with the
/// main loop exclusively via App.wake_loop_threadsafe().
class IDFUARTComponent : public UARTComponent, public Component {
public:
void setup() override;