From 390c9d6ccf596ce7dab6c176b3eddc851f9a7d85 Mon Sep 17 00:00:00 2001 From: Levi Todes <43195586+LeTo37@users.noreply.github.com> Date: Sun, 1 Feb 2026 04:57:39 +0200 Subject: [PATCH] SHT3X driver: change state timer variable from uint32 to uint64. (#24264) Prevents current behaviour of repeated entry into 'init' state and associated log spamming after +-72 minutes. Signed-off-by: LeTo37 Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com> --- src/drivers/hygrometer/sht3x/sht3x.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/hygrometer/sht3x/sht3x.h b/src/drivers/hygrometer/sht3x/sht3x.h index 2750b8d9ff..a01a0a4335 100644 --- a/src/drivers/hygrometer/sht3x/sht3x.h +++ b/src/drivers/hygrometer/sht3x/sht3x.h @@ -110,7 +110,7 @@ private: float measured_temperature = 0; float measured_humidity = 0; - uint32_t measurement_time = 0; + uint64_t measurement_time = 0; uint16_t measurement_index = 0; sht_info _sht_info;