mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Fixed parameter-loading typo, fixed mavlink compile warnings
This commit is contained in:
parent
5c7f7f5a4c
commit
297990fe35
@ -7,7 +7,7 @@ uorb start
|
||||
|
||||
echo "[init] eeprom"
|
||||
eeprom start
|
||||
if [ -f /eeprom/parameters]
|
||||
if [ -f /eeprom/parameters ]
|
||||
then
|
||||
eeprom load_param /eeprom/parameters
|
||||
fi
|
||||
|
||||
@ -191,7 +191,7 @@ static int mavlink_pm_save_eeprom()
|
||||
|
||||
if (result != 0) {
|
||||
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;
|
||||
}
|
||||
|
||||
@ -346,7 +346,7 @@ void mavlink_pm_message_handler(const mavlink_channel_t chan, const mavlink_mess
|
||||
}
|
||||
|
||||
/* send back command result */
|
||||
// mavlink_message_t tx;
|
||||
//mavlink_msg_command_ack_send(chan, cmd.command, result);
|
||||
} break;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user