From dd81f9a835686c29b06ff910db291aa4a2c9e78f Mon Sep 17 00:00:00 2001 From: cptskippy Date: Fri, 31 May 2024 23:59:44 +0000 Subject: [PATCH] ========================================================= Your formatting is not correct, ESPHome uses clang-format to format all source files in a unified way. Please apply the changes listed below The following files need to be changed: esphome/components/ld2415h/ld2415h.h ========================================================= diff --git a/esphome/components/ld2415h/ld2415h.h b/esphome/components/ld2415h/ld2415h.h index 8f5a42f..87a7f65 100644 --- a/esphome/components/ld2415h/ld2415h.h +++ b/esphome/components/ld2415h/ld2415h.h @@ -134,7 +134,7 @@ class LD2415HComponent : public Component, public uart::UARTDevice { const char *tracking_mode_to_s_(TrackingMode value); const char *unit_of_measure_to_s_(UnitOfMeasure value); const char *negotiation_mode_to_s_(NegotiationMode value); - const char *i_to_s(const std::map &map, uint8_t i); + const char *i_to_s_(const std::map &map, uint8_t i); std::vector listeners_{}; }; --- esphome/components/ld2415h/ld2415h.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/ld2415h/ld2415h.h b/esphome/components/ld2415h/ld2415h.h index 8f5a42f34f..87a7f65bae 100644 --- a/esphome/components/ld2415h/ld2415h.h +++ b/esphome/components/ld2415h/ld2415h.h @@ -134,7 +134,7 @@ class LD2415HComponent : public Component, public uart::UARTDevice { const char *tracking_mode_to_s_(TrackingMode value); const char *unit_of_measure_to_s_(UnitOfMeasure value); const char *negotiation_mode_to_s_(NegotiationMode value); - const char *i_to_s(const std::map &map, uint8_t i); + const char *i_to_s_(const std::map &map, uint8_t i); std::vector listeners_{}; };