added missing const keyword

This commit is contained in:
Andreas Antener 2016-08-01 15:08:05 +02:00
parent d089c427ec
commit 86d1488e52
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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;}