AP_Baro: avoid i2c errors with ICP101XX

this sensor doesn't like reading at higher than expected rate
This commit is contained in:
Andrew Tridgell 2024-07-06 11:38:58 +10:00 committed by Peter Barker
parent a02cd4b432
commit 429294fa1d
1 changed files with 2 additions and 2 deletions

View File

@ -109,7 +109,7 @@ bool AP_Baro_ICP101XX::init()
dev->get_semaphore()->give();
dev->register_periodic_callback(measure_interval/2, FUNCTOR_BIND_MEMBER(&AP_Baro_ICP101XX::timer, void));
dev->register_periodic_callback(measure_interval, FUNCTOR_BIND_MEMBER(&AP_Baro_ICP101XX::timer, void));
return true;