TillFleisch / ESPHome-HLK-LD2450

ESPHome support for the HI-Link HLK-LD2450 millimeter wave sensor (external component) with support for custom zones using convex polygons.
MIT License
105 stars 19 forks source link

Refactor to avoid uninitialized variables #26

Closed MrEbbinghaus closed 3 months ago

MrEbbinghaus commented 3 months ago

The compiler warned (and errored) because of message_type and header maybe being uninitialized.

TillFleisch commented 3 months ago

Thank you @MrEbbinghaus (: