mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 12:58:52 +08:00
Wait conversion_interval before first measurement
This commit is contained in:
committed by
Lorenz Meier
parent
078aca1966
commit
b4d9f44904
@@ -600,7 +600,7 @@ SF1XX::start()
|
||||
measure();
|
||||
|
||||
/* schedule a cycle to start things */
|
||||
work_queue(HPWORK, &_work, (worker_t)&SF1XX::cycle_trampoline, this, 5);
|
||||
work_queue(HPWORK, &_work, (worker_t)&SF1XX::cycle_trampoline, this, USEC2TICK(_conversion_interval));
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user