mirror of https://github.com/ArduPilot/ardupilot
AP_RangeFinder: change i2c reading frequency to 50Hz
This commit is contained in:
parent
54708d916b
commit
4dc5162d0a
|
@ -126,7 +126,7 @@ bool AP_RangeFinder_Benewake_TFMiniPlus::init()
|
||||||
|
|
||||||
hal.scheduler->delay(100);
|
hal.scheduler->delay(100);
|
||||||
|
|
||||||
_dev->register_periodic_callback(10000,
|
_dev->register_periodic_callback(20000,
|
||||||
FUNCTOR_BIND_MEMBER(&AP_RangeFinder_Benewake_TFMiniPlus::timer, void));
|
FUNCTOR_BIND_MEMBER(&AP_RangeFinder_Benewake_TFMiniPlus::timer, void));
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue