trivial code style cleanup round 2

This commit is contained in:
Daniel Agar
2015-03-27 23:38:58 -04:00
parent 5cc1a5dfda
commit 8aae66b893
56 changed files with 132 additions and 104 deletions
@@ -45,7 +45,8 @@
int sphere_fit_least_squares(const float x[], const float y[], const float z[],
unsigned int size, unsigned int max_iterations, float delta, float *sphere_x, float *sphere_y, float *sphere_z, float *sphere_radius)
unsigned int size, unsigned int max_iterations, float delta, float *sphere_x, float *sphere_y, float *sphere_z,
float *sphere_radius)
{
float x_sumplain = 0.0f;
+2 -2
View File
@@ -245,7 +245,7 @@ int do_gyro_calibration(int mavlink_fd)
mavlink_log_critical(mavlink_fd, CAL_FAILED_APPLY_CAL_MSG);
}
}
if (failed) {
mavlink_and_console_log_critical(mavlink_fd, "ERROR: failed to set offset params");
res = ERROR;
@@ -376,7 +376,7 @@ int do_gyro_calibration(int mavlink_fd)
}
}
#endif
#endif
if (res == OK) {
/* auto-save to EEPROM */