Fixed parameter-loading typo, fixed mavlink compile warnings

This commit is contained in:
Lorenz Meier 2012-09-07 15:28:02 +02:00
parent 5c7f7f5a4c
commit 297990fe35
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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;
}
}