Skip to content

Commit 6851b0f

Browse files
committed
tests: Add stabilization delay after ISM330DL init in comparison.
1 parent f605cee commit 6851b0f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/scenarios/board_temperature_comparison.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ tests:
5757
# ISM330DL (auxiliary, offset not guaranteed by datasheet)
5858
from ism330dl.device import ISM330DL
5959
imu = ISM330DL(i2c)
60+
sleep_ms(200) # stabilize after reset
6061
temps['ISM330DL'] = imu.temperature_c()
6162
6263
# Print comparison table
@@ -141,6 +142,7 @@ tests:
141142
142143
from ism330dl.device import ISM330DL
143144
imu = ISM330DL(i2c)
145+
sleep_ms(200) # stabilize after reset
144146
145147
# Read reference just before each sensor to minimize drift
146148
ref_t = ref.temperature()

0 commit comments

Comments
 (0)