tfmini: move to UART WQ

This commit is contained in:
Daniel Agar 2019-10-27 14:06:06 -04:00
parent d22f2fafd9
commit 5c9732f08c

View File

@ -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