Commit 10e8a8e2 authored by MagoKimbra's avatar MagoKimbra

Fix G4

parent 8f2891b6
...@@ -2184,7 +2184,7 @@ inline void gcode_G2_G3(bool clockwise) { ...@@ -2184,7 +2184,7 @@ inline void gcode_G2_G3(bool clockwise) {
// G4: Dwell S<seconds> or P<milliseconds> // G4: Dwell S<seconds> or P<milliseconds>
inline void gcode_G4() { inline void gcode_G4() {
unsigned long codenum; unsigned long codenum = 0;
LCD_MESSAGEPGM(MSG_DWELL); LCD_MESSAGEPGM(MSG_DWELL);
if (code_seen('P')) codenum = code_value_long(); // milliseconds to wait if (code_seen('P')) codenum = code_value_long(); // milliseconds to wait
......
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