From c096462aab0f9dcb155dc9997dd59a2a11ea0422 Mon Sep 17 00:00:00 2001 From: Yuri D'Elia Date: Wed, 3 Feb 2021 19:27:01 +0100 Subject: [PATCH] Clarify statement by adding extra braces --- Firmware/Marlin_main.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Firmware/Marlin_main.cpp b/Firmware/Marlin_main.cpp index 2111686f..8d239ae8 100755 --- a/Firmware/Marlin_main.cpp +++ b/Firmware/Marlin_main.cpp @@ -3501,11 +3501,13 @@ bool gcode_M45(bool onlyZ, int8_t verbosity_level) bool result = sample_mesh_and_store_reference(); if (result) { - 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); - final_result = true; - // babystep_apply(); + 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); + } + final_result = true; + // babystep_apply(); } } else