diff --git a/libraries/AP_Follow/AP_Follow.h b/libraries/AP_Follow/AP_Follow.h index 593149cb08158..fa49c0cd120ea 100644 --- a/libraries/AP_Follow/AP_Follow.h +++ b/libraries/AP_Follow/AP_Follow.h @@ -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();