Skip to content
Snippets Groups Projects
Commit 86d1488e authored by Andreas Antener's avatar Andreas Antener
Browse files

added missing const keyword

parent d089c427
No related branches found
No related tags found
No related merge requests found
......@@ -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;}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment