mirror of
https://github.com/esphome/esphome.git
synced 2025-01-22 04:15:58 +01:00
Initialize tx,ty,td,ts vars
This commit is contained in:
parent
fed899b486
commit
50afb3411a
1 changed files with 4 additions and 4 deletions
|
@ -298,10 +298,10 @@ void LD2450Component::handle_periodic_data_(uint8_t *buffer, int len) {
|
|||
int16_t start;
|
||||
int16_t val;
|
||||
uint8_t index;
|
||||
int16_t tx;
|
||||
int16_t ty;
|
||||
int16_t td;
|
||||
int16_t ts;
|
||||
int16_t tx = 0;
|
||||
int16_t ty = 0;
|
||||
int16_t td = 0;
|
||||
int16_t ts = 0;
|
||||
int16_t angle;
|
||||
std::string direction;
|
||||
|
||||
|
|
Loading…
Reference in a new issue