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 <levitodes2019@u.northwestern.edu>
Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com>
This commit is contained in:
Levi Todes 2026-02-01 04:57:39 +02:00 committed by GitHub
parent 63c4f4ac3e
commit 390c9d6ccf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;