forked from Archive/PX4-Autopilot
drivers/barometer/invensense/icp201xx: increase delay after configuration (#21765)
- fixes wrong altitude reporting
This commit is contained in:
parent
89b238f094
commit
090f929659
|
@ -250,7 +250,7 @@ ICP201XX::RunImpl()
|
||||||
case STATE::CONFIG: {
|
case STATE::CONFIG: {
|
||||||
if (configure()) {
|
if (configure()) {
|
||||||
_state = STATE::WAIT_READ;
|
_state = STATE::WAIT_READ;
|
||||||
ScheduleDelayed(10_ms);
|
ScheduleDelayed(30_ms);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
if (hrt_elapsed_time(&_reset_timestamp) > 1000_ms) {
|
if (hrt_elapsed_time(&_reset_timestamp) > 1000_ms) {
|
||||||
|
|
Loading…
Reference in New Issue