Skip to content

Commit

Permalink
send mavlink to both ports
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterJBurke committed Apr 2, 2024
1 parent f6d0cf1 commit 650f31d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ class MyAdvertisedDeviceCallbacks: public BLEAdvertisedDeviceCallbacks {
// why not just send direct to mavlink as soon as packet received
mavlink_open_drone_id_location_t m_mavlink_open_drone_id_location_t_tosend;
m2o_location2Mavlink(&m_mavlink_open_drone_id_location_t_tosend,&odid_location);
mavlink1.send_uav_location(m_mavlink_open_drone_id_location_t_tosend );
mavlink2.send_uav_location(m_mavlink_open_drone_id_location_t_tosend );


Expand Down

0 comments on commit 650f31d

Please sign in to comment.