Commit 2f44269f authored by MagoKimbra's avatar MagoKimbra

Merge pull request #6 from simone97/patch-1

Update Marlin_main.cpp
parents 40f263ae b265820b
...@@ -5246,7 +5246,7 @@ void process_commands() ...@@ -5246,7 +5246,7 @@ void process_commands()
} }
break; break;
#ifdef DOGLCD #if defined(DOGLCD) && LCD_CONTRAST >= 0
case 250: //M250 Set LCD contrast value: C<value> (value 0..63) case 250: //M250 Set LCD contrast value: C<value> (value 0..63)
{ {
if (code_seen('C')) lcd_setcontrast(((int)code_value())&63); if (code_seen('C')) lcd_setcontrast(((int)code_value())&63);
...@@ -6694,3 +6694,4 @@ void calculate_volumetric_multipliers() { ...@@ -6694,3 +6694,4 @@ void calculate_volumetric_multipliers() {
for (int i=0; i<EXTRUDERS; i++) for (int i=0; i<EXTRUDERS; i++)
volumetric_multiplier[i] = calculate_volumetric_multiplier(filament_size[i]); volumetric_multiplier[i] = calculate_volumetric_multiplier(filament_size[i]);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment