mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 09:33:35 +08:00
drivers/differential_pressure move all to px4 work queue
This commit is contained in:
@@ -168,7 +168,7 @@ SDP3X::collect()
|
||||
}
|
||||
|
||||
void
|
||||
SDP3X::cycle()
|
||||
SDP3X::Run()
|
||||
{
|
||||
int ret = PX4_ERROR;
|
||||
|
||||
@@ -181,7 +181,7 @@ SDP3X::cycle()
|
||||
}
|
||||
|
||||
// schedule a fresh cycle call when the measurement is done
|
||||
work_queue(HPWORK, &_work, (worker_t)&Airspeed::cycle_trampoline, this, USEC2TICK(CONVERSION_INTERVAL));
|
||||
ScheduleDelayed(CONVERSION_INTERVAL);
|
||||
}
|
||||
|
||||
bool SDP3X::crc(const uint8_t data[], unsigned size, uint8_t checksum)
|
||||
|
||||
Reference in New Issue
Block a user