From 523c9cd737e7bb38dec268a797d301dd8a551000 Mon Sep 17 00:00:00 2001 From: Marek Bel Date: Tue, 7 Aug 2018 12:58:15 +0200 Subject: [PATCH] Fix compiler warning: sketch/mesh_bed_calibration.cpp:205:34: warning: unused parameter 'verbosity_level' [-Wunused-parameter] --- Firmware/mesh_bed_calibration.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Firmware/mesh_bed_calibration.cpp b/Firmware/mesh_bed_calibration.cpp index f22f4d0d..f4040551 100644 --- a/Firmware/mesh_bed_calibration.cpp +++ b/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;