mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-03 13:10:34 +08:00
added missing const keyword
This commit is contained in:
@@ -510,7 +510,7 @@ VtolAttitudeControl::is_fixed_wing_requested()
|
||||
* Abort front transition
|
||||
*/
|
||||
void
|
||||
VtolAttitudeControl::abort_front_transition(char *reason)
|
||||
VtolAttitudeControl::abort_front_transition(const char *reason)
|
||||
{
|
||||
if (!_abort_front_transition) {
|
||||
mavlink_log_critical(&_mavlink_log_pub, "Abort: %s", reason);
|
||||
|
||||
@@ -110,7 +110,7 @@ public:
|
||||
|
||||
int start(); /* start the task and return OK on success */
|
||||
bool is_fixed_wing_requested();
|
||||
void abort_front_transition(char *reason);
|
||||
void abort_front_transition(const char *reason);
|
||||
|
||||
struct vehicle_attitude_s *get_att() {return &_v_att;}
|
||||
struct vehicle_attitude_setpoint_s *get_att_sp() {return &_v_att_sp;}
|
||||
|
||||
Reference in New Issue
Block a user