mirror of
https://github.com/esphome/esphome.git
synced 2024-11-28 12:46:22 +01:00
Initialize tx,ty,td,ts vars
This commit is contained in:
parent
fed899b486
commit
50afb3411a
@ -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 New Issue
Block a user