Merge branch 'master' of github.com:PX4/Firmware into power_enforce

This commit is contained in:
Lorenz Meier 2014-06-30 13:27:42 +02:00
commit a5e7f5ca30
2 changed files with 2 additions and 2 deletions

View File

@ -466,7 +466,7 @@ MulticopterPositionControl::update_ref()
{
if (_local_pos.ref_timestamp != _ref_timestamp) {
double lat_sp, lon_sp;
float alt_sp;
float alt_sp = 0.0f;
if (_ref_timestamp != 0) {
/* calculate current position setpoint in global frame */

View File

@ -60,7 +60,7 @@ nshterm_main(int argc, char *argv[])
printf("Usage: nshterm <device>\n");
exit(1);
}
uint8_t retries = 0;
unsigned retries = 0;
int fd = -1;
/* try the first 30 seconds */