Skip to content

Commit

Permalink
GCS_MAVLink: pass channel number to AP_GPS on RTCM injection
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed Feb 29, 2024
1 parent 6a16cbf commit a792a71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/GCS_MAVLink/GCS_Common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4103,7 +4103,7 @@ void GCS_MAVLINK::handle_message(const mavlink_message_t &msg)
case MAVLINK_MSG_ID_GPS_INPUT:
case MAVLINK_MSG_ID_HIL_GPS:
case MAVLINK_MSG_ID_GPS_INJECT_DATA:
AP::gps().handle_msg(msg);
AP::gps().handle_msg(chan, msg);
break;
#endif

Expand Down

0 comments on commit a792a71

Please sign in to comment.