Fix compiler warning sketch/ultralcd.cpp:3588:9: warning: unused variable 'enc_dif' [-Wunused-variable]

This commit is contained in:
Marek Bel 2018-08-02 17:08:46 +02:00
parent 1898ef9896
commit d85c36cc77

View File

@ -3584,7 +3584,6 @@ static void menu_show_end_stops() {
// Otherwise the Z calibration is not changed and false is returned.
void lcd_diag_show_end_stops()
{
int enc_dif = lcd_encoder_diff;
lcd_clear();
for (;;) {
manage_heater();