mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
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:
parent
63c4f4ac3e
commit
390c9d6ccf
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user