From da5cd117323cc509138352ad9bcb230af79cc6b7 Mon Sep 17 00:00:00 2001 From: Thierry DUVERNOY Date: Sat, 25 Jan 2025 15:09:59 +0100 Subject: [PATCH] clang format correction --- esphome/components/dallas_pio/dallas_pio.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/esphome/components/dallas_pio/dallas_pio.h b/esphome/components/dallas_pio/dallas_pio.h index 614c44b55c..56280881bc 100644 --- a/esphome/components/dallas_pio/dallas_pio.h +++ b/esphome/components/dallas_pio/dallas_pio.h @@ -77,7 +77,8 @@ class DallasPio : public Component, public one_wire::OneWireDevice { void ds2408_write_state_(bool state, bool use_crc); uint16_t crc_; bool crc_enabled_ = false; - bool ds2406_verify_crc_(uint8_t control1, uint8_t control2, uint8_t info, uint8_t io_state, uint16_t received_crc); + bool ds2406_verify_crc_(uint8_t control1, uint8_t control2, uint8_t channel_info_byte, uint8_t io_state, + uint16_t received_crc); void crc_reset_(); void crc_shift_byte_(uint8_t byte); uint16_t crc_read_() const;