瀏覽代碼

Clarify statement by adding extra braces

Yuri D'Elia 3 年之前
父節點
當前提交
c096462aab
共有 1 個文件被更改,包括 7 次插入5 次删除
  1. 7 5
      Firmware/Marlin_main.cpp

+ 7 - 5
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