Clarify statement by adding extra braces

This commit is contained in:
Yuri D'Elia 2021-02-03 19:27:01 +01:00 committed by DRracer
parent 051f03119b
commit c096462aab
1 changed files with 7 additions and 5 deletions

View File

@ -3501,11 +3501,13 @@ bool gcode_M45(bool onlyZ, int8_t verbosity_level)
bool result = sample_mesh_and_store_reference(); bool result = sample_mesh_and_store_reference();
if (result) if (result)
{ {
if (calibration_status() == CALIBRATION_STATUS_Z_CALIBRATION) if (calibration_status() == CALIBRATION_STATUS_Z_CALIBRATION)
// Shipped, the nozzle height has been set already. The user can start printing now. {
calibration_status_store(CALIBRATION_STATUS_CALIBRATED); // Shipped, the nozzle height has been set already. The user can start printing now.
final_result = true; calibration_status_store(CALIBRATION_STATUS_CALIBRATED);
// babystep_apply(); }
final_result = true;
// babystep_apply();
} }
} }
else else