Skip to content

Commit

Permalink
Fixed parameter-loading typo, fixed mavlink compile warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzMeier committed Sep 7, 2012
1 parent 5c7f7f5 commit 297990f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ROMFS/scripts/rc.PX4FMU_quad_x
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions apps/mavlink/mavlink_parameters.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down Expand Up @@ -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;
}
}

0 comments on commit 297990f

Please sign in to comment.