mirror of
https://github.com/esphome/esphome.git
synced 2025-02-08 06:00:56 +00:00
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_{}; };
LTR-303, LTR-329, LTR-553, LTR-556, LTR-559, LTR-659 Series of Lite-On Light (ALS) and Proximity(PS) sensors (#6076)
ESPHome
![GitHub release](https://img.shields.io/github/release/esphome/esphome.svg)
Documentation: https://esphome.io/
For issues, please go to the issue tracker.
For feature requests, please see feature requests.
Description
Languages
C++
70.3%
Python
29.4%
C
0.1%