From e9d8ed8599b74d3d170491586e82650d4122b051 Mon Sep 17 00:00:00 2001 From: Marek Bel Date: Tue, 7 Aug 2018 13:58:06 +0200 Subject: [PATCH] Fix compiler warning: sketch/mesh_bed_calibration.cpp:1057:13: warning: unused parameter 'verbosity_level' [-Wunused-parameter] --- Firmware/mesh_bed_calibration.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Firmware/mesh_bed_calibration.cpp b/Firmware/mesh_bed_calibration.cpp index c7d7dd46..32ed0c04 100644 --- a/Firmware/mesh_bed_calibration.cpp +++ b/Firmware/mesh_bed_calibration.cpp @@ -1054,7 +1054,11 @@ extern bool xyzcal_find_bed_induction_sensor_point_xy(); #endif //HEATBED_V2 #ifdef HEATBED_V2 -inline bool find_bed_induction_sensor_point_xy(int verbosity_level) +inline bool find_bed_induction_sensor_point_xy(int +#if !defined (NEW_XYZCAL) && defined (SUPPORT_VERBOSITY) + verbosity_level +#endif + ) { #ifdef NEW_XYZCAL return xyzcal_find_bed_induction_sensor_point_xy();