mirror of
https://github.com/esphome/esphome.git
synced 2024-12-19 16:07:47 +01:00
Fix un-initialized version string (#5865)
This commit is contained in:
parent
788f1b60e2
commit
e271faa544
@ -255,12 +255,11 @@ class LD2420Component : public Component, public uart::UARTDevice {
|
|||||||
|
|
||||||
uint16_t gate_energy_[LD2420_TOTAL_GATES];
|
uint16_t gate_energy_[LD2420_TOTAL_GATES];
|
||||||
CmdReplyT cmd_reply_;
|
CmdReplyT cmd_reply_;
|
||||||
uint32_t timeout_;
|
|
||||||
uint32_t max_distance_gate_;
|
uint32_t max_distance_gate_;
|
||||||
uint32_t min_distance_gate_;
|
uint32_t min_distance_gate_;
|
||||||
uint16_t system_mode_{CMD_SYSTEM_MODE_ENERGY};
|
uint16_t system_mode_{CMD_SYSTEM_MODE_ENERGY};
|
||||||
bool cmd_active_{false};
|
bool cmd_active_{false};
|
||||||
char ld2420_firmware_ver_[8];
|
char ld2420_firmware_ver_[8]{"v0.0.0"};
|
||||||
bool presence_{false};
|
bool presence_{false};
|
||||||
bool calibration_{false};
|
bool calibration_{false};
|
||||||
uint16_t distance_{0};
|
uint16_t distance_{0};
|
||||||
|
Loading…
Reference in New Issue
Block a user