Skip to content

Commit

Permalink
Fix the get proto version function signature
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzMeier committed Aug 20, 2016
1 parent d60d0d5 commit e409dc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymavlink/generator/C/include_v2.0/mavlink_helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ MAVLINK_HELPER void mavlink_set_proto_version(uint8_t chan, unsigned int version
*
* @return 1 for v1, 2 for v2
*/
MAVLINK_HELPER unsigned int mavlink_get_proto_version(uint8_t chan, unsigned int version)
MAVLINK_HELPER unsigned int mavlink_get_proto_version(uint8_t chan)
{
mavlink_status_t *status = mavlink_get_channel_status(chan);
if ((status->flags & MAVLINK_STATUS_FLAG_OUT_MAVLINK1) > 0) {
Expand Down

0 comments on commit e409dc5

Please sign in to comment.