forked from Archive/PX4-Autopilot
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…
Reference in New Issue