mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
tfmini: move to UART WQ
This commit is contained in:
parent
d22f2fafd9
commit
5c9732f08c
@ -34,7 +34,7 @@
|
||||
#include "TFMINI.hpp"
|
||||
|
||||
TFMINI::TFMINI(const char *port, uint8_t rotation) :
|
||||
ScheduledWorkItem(MODULE_NAME, px4::wq_configurations::hp_default),
|
||||
ScheduledWorkItem(MODULE_NAME, px4::serial_port_to_wq(port)),
|
||||
_px4_rangefinder(0 /* TODO: device id */, ORB_PRIO_DEFAULT, rotation)
|
||||
{
|
||||
// store port name
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user