mirror of
https://github.com/esphome/esphome.git
synced 2026-08-22 22:26:21 +00:00
[ld2420] Drop the setup priority override so setup runs after the UART bus (#18428)
This commit is contained in:
@@ -184,8 +184,6 @@ static int32_t get_firmware_int(const char *version_string) {
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
float LD2420Component::get_setup_priority() const { return setup_priority::BUS; }
|
|
||||||
|
|
||||||
void LD2420Component::dump_config() {
|
void LD2420Component::dump_config() {
|
||||||
ESP_LOGCONFIG(TAG,
|
ESP_LOGCONFIG(TAG,
|
||||||
"LD2420:\n"
|
"LD2420:\n"
|
||||||
|
|||||||
@@ -105,7 +105,6 @@ class LD2420Component final : public Component, public uart::UARTDevice {
|
|||||||
void apply_config_action();
|
void apply_config_action();
|
||||||
void factory_reset_action();
|
void factory_reset_action();
|
||||||
void revert_config_action();
|
void revert_config_action();
|
||||||
float get_setup_priority() const override;
|
|
||||||
int send_cmd_from_array(CmdFrameT cmd_frame);
|
int send_cmd_from_array(CmdFrameT cmd_frame);
|
||||||
void report_gate_data();
|
void report_gate_data();
|
||||||
void handle_cmd_error(uint16_t error);
|
void handle_cmd_error(uint16_t error);
|
||||||
|
|||||||
Reference in New Issue
Block a user