=========================================================

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<std::string, uint8_t> &map, uint8_t i);
+  const char *i_to_s_(const std::map<std::string, uint8_t> &map, uint8_t i);

   std::vector<LD2415HListener *> listeners_{};
 };
This commit is contained in:
cptskippy 2024-05-31 23:59:44 +00:00
parent 863c0b576a
commit dd81f9a835

View file

@ -134,7 +134,7 @@ class LD2415HComponent : public Component, public uart::UARTDevice {
const char *tracking_mode_to_s_(TrackingMode value); const char *tracking_mode_to_s_(TrackingMode value);
const char *unit_of_measure_to_s_(UnitOfMeasure value); const char *unit_of_measure_to_s_(UnitOfMeasure value);
const char *negotiation_mode_to_s_(NegotiationMode value); const char *negotiation_mode_to_s_(NegotiationMode value);
const char *i_to_s(const std::map<std::string, uint8_t> &map, uint8_t i); const char *i_to_s_(const std::map<std::string, uint8_t> &map, uint8_t i);
std::vector<LD2415HListener *> listeners_{}; std::vector<LD2415HListener *> listeners_{};
}; };