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 Mar 6, 2024
1 parent 7ba9030 commit 0aba1ce
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 @@ -4107,7 +4107,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 0aba1ce

Please sign in to comment.