Browse Source

More verbosity on RC check

sbg
Lorenz Meier 12 years ago
parent
commit
9eff3170a3
  1. 4
      src/modules/systemlib/rc_check.c

4
src/modules/systemlib/rc_check.c

@ -112,13 +112,13 @@ int rc_calibration_check(void) {
} }
if (param_trim < param_min) { if (param_trim < param_min) {
count++; count++;
mavlink_log_critical(mavlink_fd, "ERR: RC_%d_TRIM < MIN", i+1); mavlink_log_critical(mavlink_fd, "ERR: RC_%d_TRIM < MIN (%d/%d)", i+1, (int)param_trim, (int)param_min);
/* give system time to flush error message in case there are more */ /* give system time to flush error message in case there are more */
usleep(100000); usleep(100000);
} }
if (param_trim > param_max) { if (param_trim > param_max) {
count++; count++;
mavlink_log_critical(mavlink_fd, "ERR: RC_%d_TRIM > MAX", i+1); mavlink_log_critical(mavlink_fd, "ERR: RC_%d_TRIM > MAX (%d/%d)", i+1, (int)param_trim, (int)param_max);
/* give system time to flush error message in case there are more */ /* give system time to flush error message in case there are more */
usleep(100000); usleep(100000);
} }

Loading…
Cancel
Save