Skip to content

Commit 5242160

Browse files
committed
commander: accel calibration reduce status length
- this keeps the string within a single Mavlink STATUSTEXT - fixes #14829
1 parent d824706 commit 5242160

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/commander/accelerometer_calibration.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ static calibrate_return accel_calibration_worker(detect_orientation_return orien
246246

247247
read_accelerometer_avg(worker_data->accel_ref, orientation, samples_num);
248248

249-
calibration_log_info(worker_data->mavlink_log_pub, "[cal] %s side result: [%8.4f %8.4f %8.4f]",
249+
calibration_log_info(worker_data->mavlink_log_pub, "[cal] %s side result: [%.3f %.3f %.3f]",
250250
detect_orientation_str(orientation),
251251
(double)worker_data->accel_ref[0][orientation][0],
252252
(double)worker_data->accel_ref[0][orientation][1],

0 commit comments

Comments
 (0)