From 2369ddea9e1190ba0c44bceed70fcf0336a5304b Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 16 Oct 2026 13:14:01 -1000 Subject: [PATCH] Shorten the range and latency field comment --- esphome/components/dfrobot_sen0395/dfrobot_sen0395.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/esphome/components/dfrobot_sen0395/dfrobot_sen0395.h b/esphome/components/dfrobot_sen0395/dfrobot_sen0395.h index 82e57203750..e711a5b84db 100644 --- a/esphome/components/dfrobot_sen0395/dfrobot_sen0395.h +++ b/esphome/components/dfrobot_sen0395/dfrobot_sen0395.h @@ -125,9 +125,7 @@ class DfrobotSen0395Component final : public uart::UARTDevice, public Component uint8_t retries_left_{2}; StaticRingBuffer cmd_queue_; uint32_t ts_last_cmd_sent_{0}; - // Values of the queued range and latency commands, in the sensor's steps of 0.15 m and 0.025 s. - // A later command replaces them, which leaves the sensor in the same final state. One replaced while its - // command waits for a reply makes that command's log and any retry use the newer values. + // Range and latency of the queued commands, in sensor steps (0.15 m, 0.025 s); a later command overwrites them int16_t det_range_steps_[8]{}; uint16_t latency_steps_[2]{};