Mag cal: Add 100% message

This commit is contained in:
Lorenz Meier 2015-03-01 19:04:14 +01:00
parent 1da2dc7e34
commit dc67834222
1 changed files with 3 additions and 0 deletions

View File

@ -137,6 +137,9 @@ int do_mag_calibration(int mavlink_fd)
}
if (calibrated_ok) {
mavlink_and_console_log_info(mavlink_fd, CAL_PROGRESS_MSG, sensor_name, 100);
usleep(100000);
mavlink_and_console_log_info(mavlink_fd, CAL_DONE_MSG, sensor_name);
/* auto-save to EEPROM */