mirror of
https://github.com/esphome/esphome.git
synced 2026-02-08 08:41:59 +00:00
836bfc625de90c405aa8ded9ab8b835f7fcd3200
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%
