Browse Source

Fix compiler warning: sketch/mesh_bed_calibration.cpp:205:34: warning: unused parameter 'verbosity_level' [-Wunused-parameter]

Marek Bel 5 years ago
parent
commit
523c9cd737
1 changed files with 4 additions and 1 deletions
  1. 4 1
      Firmware/mesh_bed_calibration.cpp

+ 4 - 1
Firmware/mesh_bed_calibration.cpp

@@ -209,7 +209,10 @@ BedSkewOffsetDetectionResultType calculate_machine_skew_and_offset_LS(
     float        *vec_x,
     float        *vec_y,
     float        *cntr,
-    int8_t        verbosity_level
+    int8_t
+#ifdef SUPPORT_VERBOSITY
+    verbosity_level
+#endif //SUPPORT_VERBOSITY
     )
 {
 	float angleDiff;