-
-
Notifications
You must be signed in to change notification settings - Fork 19.7k
Description
Did you test the latest bugfix-2.1.x code?
Yes, same warning is generated.
Bug Description
I have been working on compiling a version of Marlin 2.1 and was able to do so without getting any errors or warning.
The problem starts if i try to enable X_AXIX_TWIST_COMPENSATION.
When i try to compile the firmware I get the following warning:
Marlin\src\lcd\menu\menu_x_twist.cpp: In function 'void xatc_wizard_menu()':
Marlin\src\lcd\menu\menu_x_twist.cpp:104:19: warning: unused variable 'digs' [-Wunused-variable]
104 | const uint8_t digs = !UNEAR_ZERO((FINE_MANUAL_MOVE) * 1000 - int((FINE_MANUAL_MOVE) * 1000)) ? 4 :
| ^~~~
Has anybody seen that and if so is it normal, if not would anyone have any idea on how to remedy the situation.
Thanks,
Bug Timeline
new
Expected behavior
Expected no warning to be generated when compi;ing the firmware
Actual behavior
See generated warning message when compiling the firmware.
Steps to Reproduce
No response
Version of Marlin Firmware
2.1
Printer model
Prusa bear clone with bltouch
Electronics
SKR2
Add-ons
No response
Bed Leveling
ABL Bilinear mesh
Your Slicer
No response
Host Software
No response
Don't forget to include
- A ZIP file containing your
Configuration.handConfiguration_adv.h.