Commit 5fc3fde9 authored by Thomas Gubler's avatar Thomas Gubler

joystick: fix slot interface and remove debug output

parent 9e1d9e95
......@@ -366,7 +366,7 @@ public slots:
* @brief Specify which setpoints should be sent to the UAS when moving the joystick
* @param newMode the mode (setpoint type) see the JOYSTICK_MODE enum
*/
void setMode(quint8 newMode)
void setMode(int newMode)
{
mode = (JOYSTICK_MODE)newMode;
}
......
......@@ -2978,7 +2978,6 @@ void UAS::setExternalControlSetpoint(float roll, float pitch, float yaw, float t
manualButtons = buttons;
mavlink_message_t message;
qDebug() << "js mode" << joystickMode;
if (joystickMode == JoystickInput::JOYSTICK_MODE_ATTITUDE)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment