mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-02 03:01:36 +08:00
move initial sensor priority to parameters and purge ORB_PRIORITY
- CAL_ACCx_EN -> CAL_ACCx_PRIO - CAL_GYROx_EN -> CAL_GYROx_PRIO - CAL_MAGx_EN -> CAL_MAGx_PRIO
This commit is contained in:
@@ -87,7 +87,7 @@ static constexpr unsigned char crc_lsb_vector[] = {
|
||||
|
||||
CM8JL65::CM8JL65(const char *port, uint8_t rotation) :
|
||||
ScheduledWorkItem(MODULE_NAME, px4::serial_port_to_wq(port)),
|
||||
_px4_rangefinder(0 /* TODO: device ids */, ORB_PRIO_DEFAULT, rotation)
|
||||
_px4_rangefinder(0 /* TODO: device ids */, rotation)
|
||||
{
|
||||
// Store the port name.
|
||||
strncpy(_port, port, sizeof(_port) - 1);
|
||||
|
||||
Reference in New Issue
Block a user