diff --git a/libraries/AP_Baro/AP_Baro_ICP101XX.cpp b/libraries/AP_Baro/AP_Baro_ICP101XX.cpp index 706196f3967af..487214ccb3024 100644 --- a/libraries/AP_Baro/AP_Baro_ICP101XX.cpp +++ b/libraries/AP_Baro/AP_Baro_ICP101XX.cpp @@ -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; @@ -312,4 +312,4 @@ void AP_Baro_ICP101XX::update() } } -#endif // AP_BARO_ICP101XX_ENABLED \ No newline at end of file +#endif // AP_BARO_ICP101XX_ENABLED