mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-02 03:49:12 +08:00
Fixed parameter-loading typo, fixed mavlink compile warnings
This commit is contained in:
@@ -191,7 +191,7 @@ static int mavlink_pm_save_eeprom()
|
|||||||
|
|
||||||
if (result != 0) {
|
if (result != 0) {
|
||||||
unlink(mavlink_parameter_file);
|
unlink(mavlink_parameter_file);
|
||||||
warn(result, "error exporting parameters to '%s'", mavlink_parameter_file);
|
warn("error exporting parameters to '%s'", mavlink_parameter_file);
|
||||||
return -2;
|
return -2;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -346,7 +346,7 @@ void mavlink_pm_message_handler(const mavlink_channel_t chan, const mavlink_mess
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* send back command result */
|
/* send back command result */
|
||||||
// mavlink_message_t tx;
|
//mavlink_msg_command_ack_send(chan, cmd.command, result);
|
||||||
} break;
|
} break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user