From 4dc5162d0a555a8f94eea18728c7eed86dfaba4f Mon Sep 17 00:00:00 2001 From: Tatsuya Yamaguchi Date: Sat, 19 Dec 2020 10:31:13 +0900 Subject: [PATCH] AP_RangeFinder: change i2c reading frequency to 50Hz --- libraries/AP_RangeFinder/AP_RangeFinder_Benewake_TFMiniPlus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_RangeFinder/AP_RangeFinder_Benewake_TFMiniPlus.cpp b/libraries/AP_RangeFinder/AP_RangeFinder_Benewake_TFMiniPlus.cpp index efebecf0e2..fd8536423b 100644 --- a/libraries/AP_RangeFinder/AP_RangeFinder_Benewake_TFMiniPlus.cpp +++ b/libraries/AP_RangeFinder/AP_RangeFinder_Benewake_TFMiniPlus.cpp @@ -126,7 +126,7 @@ bool AP_RangeFinder_Benewake_TFMiniPlus::init() hal.scheduler->delay(100); - _dev->register_periodic_callback(10000, + _dev->register_periodic_callback(20000, FUNCTOR_BIND_MEMBER(&AP_RangeFinder_Benewake_TFMiniPlus::timer, void)); return true;