Skip to content

Commit

Permalink
AP_Follow: Fix Type of SysID
Browse files Browse the repository at this point in the history
  • Loading branch information
lthall committed Aug 21, 2024
1 parent b612399 commit efca59a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_Follow/AP_Follow.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class AP_Follow
void set_target_sysid(uint8_t sysid) { _sysid.set(sysid); }

// get which target to follow
int get_target_sysid() { return _sysid; }
uint8_t get_target_sysid() { return _sysid; }

// restore offsets to zero if necessary, should be called when vehicle exits follow mode
void clear_offsets_if_required();
Expand Down

0 comments on commit efca59a

Please sign in to comment.