mirror of
https://github.com/esphome/esphome.git
synced 2026-02-08 00:31:58 +00:00
ld2420_batch_read
The ack polling loop has a tight timing requirement with delay_microseconds_safe(1450) between iterations. Snapshotting available() once could leave partial ack response bytes unread until after the delay, potentially breaking cold boot timing on some ld2420 units. Keep batch reads only in loop().
Description
Languages
C++
64.3%
Python
35.4%
C
0.2%
