mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 06:53:34 +08:00
Bottle drop: Fix mavlink output
This commit is contained in:
@@ -338,7 +338,7 @@ void
|
|||||||
BottleDrop::task_main()
|
BottleDrop::task_main()
|
||||||
{
|
{
|
||||||
|
|
||||||
_mavlink_fd = open(MAVLINK_LOG_DEVICE, 0);
|
_mavlink_fd = px4_open(MAVLINK_LOG_DEVICE, 0);
|
||||||
mavlink_log_info(_mavlink_fd, "[bottle_drop] started");
|
mavlink_log_info(_mavlink_fd, "[bottle_drop] started");
|
||||||
|
|
||||||
_command_sub = orb_subscribe(ORB_ID(vehicle_command));
|
_command_sub = orb_subscribe(ORB_ID(vehicle_command));
|
||||||
|
|||||||
Reference in New Issue
Block a user